Stevan Little writes:
> Hello all,
> I have been going over the Synopsis, and I cannot find block labels 
> mentioned anywhere. I was under the impression that if it is not 
> mentioned, then it can be assumed to be the same as perl5. However, I 
> wonder if this is the case with labels given that "everybody wants the 
> colon".

Labels are pretty easy to pick out.  I don't believe there is any other
thing in the language that, at the beginning of a statement, matches
/\w+\:/ .  They are certainly available in Perl 6 (as are plain old line
labels; we're not getting rid of goto, to many's dismay (but not mine)).


Reply via email to