Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

RE: RE: Number of times I've used goto in Perl

by cciulla (Friar)
on Apr 19, 2000 at 02:24 UTC ( #7978=note: print w/ replies, xml ) Need Help??


in reply to RE: Number of times I've used goto in Perl
in thread Number of times I've used goto in Perl

IMHO, breaking flow using 'next' counts.

That's almost as bad as an infinite 'while(true)' construct! :)


Comment on RE: RE: Number of times I've used goto in Perl
Re: RE: RE: Number of times I've used goto in Perl
by kaatunut (Scribe) on Dec 12, 2000 at 16:30 UTC
    What's so bad about while (1) { something; next if somethingmore; last if somethingelse; } ?

    I use it all the time.

     -Kaatunut

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://7978]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2015-07-05 14:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls