Chained operators
Perl 5 (and most other languages):
# test if $x between 0 inclusive and 10 exclusive if ( 0 <= $x && $x < 10 ) ...continued...
Perl 6 | Perl 6 | #13 |
Perl 5 (and most other languages):
# test if $x between 0 inclusive and 10 exclusive if ( 0 <= $x && $x < 10 ) ...continued...
Copyright © 2008 Patrick Michaud |