On Wed, 24 Aug 2011 16:32:30 +0100
Emeka <emekami...@gmail.com> wrote:

> Do we really need "goto" here?
> 

Where do you see a "goto"? Perl 5 has a goto statement (see
http://perldoc.perl.org/functions/goto.html ) and it's pretty flexible, but we
did not use it here, and instead used "last LABEL" or "next LABEL" which
behave differently. And if you're worried about gotos, you shouldn't use even
non-labelled "last" and "next", or returns from the middle of subroutines, and
your CPU uses many jump instructions too, so there. 

Also, please avoid top-posting.

Regards,

        Shlomi Fish

> Emeka
> 

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
http://www.shlomifish.org/humour/ways_to_do_it.html

Chuck Norris refactors 10 million lines of Perl code before lunch.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

-- 
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