|
|
| "be consistent" | |
| PerlMonks |
Re^3: How to change these small one-liners into Perl6 code?by ABCXYZ (Novice) |
| on Dec 23, 2012 at 02:18 UTC ( #1010064=note: print w/ replies, xml ) | Need Help?? |
|
>> 1. For some reason, Rakudo does not recognize the "LOOP:" construct, I just can't use "goto LOOP" to jump to a label. >loop is a control keyword in perl6 replacing c-style For Loops, IIRC to avoid the confusion with Foreach Loops.>You can't use a keyword as a label. But I was using "LOOP:" instead of "loop", the interpreter should have distinguished them.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||