| 1 | package Perl6::Junction::Base; | ||||||||||
| 2 | 8 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 8 | our $VERSION = '1.60000'; | |||||||||
| 4 | |||||||||||
| 5 | 8 | ▶ | use overload( | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | '==' => "num_eq", | ||||||||||
| 7 | '!=' => "num_ne", | ||||||||||
| 8 | '>=' => "num_ge", | ||||||||||
| 9 | '>' => "num_gt", | ||||||||||
| 10 | '<=' => "num_le", | ||||||||||
| 11 | '<' => "num_lt", | ||||||||||
| 12 | 'eq' => "str_eq", | ||||||||||
| 13 | 'ne' => "str_ne", | ||||||||||
| 14 | 'ge' => "str_ge", | ||||||||||
| 15 | 'gt' => "str_gt", | ||||||||||
| 16 | 'le' => "str_le", | ||||||||||
| 17 | 'lt' => "str_lt", | ||||||||||
| 18 | 'bool' => "bool", | ||||||||||
| 19 | 4 | ▶ | '""' => sub {shift}, | ||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||||||||||
| 20 | 8 | ); | |||||||||
| 21 | |||||||||||
| 22 | 384 | ▶ | sub new { | ||||||||
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 23 | 384 | my ( $class, @param ) = @_; | |||||||||
| 24 | 384 | return bless \@param, $class; | |||||||||
| 25 | } | ||||||||||
| 26 | |||||||||||
| 27 | 8 | ▶ | sub values { | ||||||||
|
Subroutine
values: called CC=2 SCAR=6.9
Pod
undocumented
| |||||||||||
| 28 | 8 | my $self = shift; | |||||||||
| 29 | 8 | ▶ | return wantarray ? @$self : [ @$self ]; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 30 | } | ||||||||||
| 31 | |||||||||||
| 32 | 8 | 1; | |||||||||
| 33 | |||||||||||