On Thu, 14 Apr 2011 20:44:57 +0100, Rob Dixon wrote:
> [ Good arguments about goto ]
> A final note, perldoc perlsyn says
> 
>   A loop's LABEL is not actually a valid target for a goto; it's just
>   the name of the loop.
> 
> and I am left wondering what this means, as I have had no problem
> writing a 'goto' targetting such labels. I wonder if this is a mistake
> in the documentation, or it is simply saying that such a goto is
> deprecated?

Mistake by the look of it.  To the discoverer go the rights of perlbug :)

-- 
Peter Scott
http://www.perlmedic.com/     http://www.perldebugged.com/
http://www.informit.com/store/product.aspx?isbn=0137001274
http://www.oreillyschool.com/courses/perl3/

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to