in reply to Re^4: "when" and replacements
in thread "when" and replacements
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
|
|---|