in reply to Perl 6 mini-essay: eqv, ===, =:=, etc.
Also, your smartmatch is wrong on the array case, where P5 and P6 differ. In P6 you must say any(@list), or you're asking if $x matches the entire list (where you are presuming that $x is some other listy object).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl 6 mini-essay: eqv, ===, =:=, etc.
by John M. Dlugosz (Monsignor) on May 05, 2008 at 23:30 UTC |