Perl6 handles some fundamental stuffs like sigils differently and I'm not sure if its possible within P6 to use "when"-clauses within "foreach"-blocks.
IMHO enforcing every detail leads to anti reactions in the perl5 system. I'd rather prefer a semantical correspondence of features than introducing more breaks in symmetry and logical confusion.
For example nobody seems to care that c-style "for" is now "loop" in Perl6...same semantic but different syntax.
Cheers Rolf
In reply to Re^5: "when" and replacements
by LanX
in thread "when" and replacements
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |