And, they will be in Perl6.
And they will have the much better name of Junctions. See Synopsis 9 and 3 for more info. They also currently work in Pugs as well:
NOTE: The undef() in the first 'if' currently needs to be there or it confuses the parser, this is a Pugs-Bug though, so it will be fixed eventually.#!/usr/bin/pugs use v6; if ( undef() & 2 & 0 & 'x' ) { print "They're all true!\n"; } else { print "At least one is false!\n"; } if ( undef | 2 | 0 | 'x' ) { print "At least one is truee!\n"; } else { print "They're all false!\n"; }
In reply to Re^2: An infix fix
by stvn
in thread An infix fix
by tlm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |