1 package Perl6::Junction::One;
3 our $VERSION = '1.40000';
5 use base 'Perl6::Junction::Base';
8 return regex_eq(@_) if ref( $_[1] ) eq 'Regexp';
10 my ( $self, $test ) = @_;
24 return regex_ne(@_) if ref( $_[1] ) eq 'Regexp';
26 my ( $self, $test ) = @_;
40 my ( $self, $test, $switch ) = @_;
42 return num_le( $self, $test ) if $switch;
57 my ( $self, $test, $switch ) = @_;
59 return num_lt( $self, $test ) if $switch;
74 my ( $self, $test, $switch ) = @_;
76 return num_ge( $self, $test ) if $switch;
91 my ( $self, $test, $switch ) = @_;
93 return num_gt( $self, $test ) if $switch;
108 my ( $self, $test ) = @_;
122 my ( $self, $test ) = @_;
136 my ( $self, $test, $switch ) = @_;
138 return str_le( $self, $test ) if $switch;
153 my ( $self, $test, $switch ) = @_;
155 return str_lt( $self, $test ) if $switch;
170 my ( $self, $test, $switch ) = @_;
172 return str_ge( $self, $test ) if $switch;
187 my ( $self, $test, $switch ) = @_;
189 return str_gt( $self, $test ) if $switch;
204 my ( $self, $test, $switch ) = @_;
219 my ( $self, $test, $switch ) = @_;