Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 exploiting the Monastery: (17)
As of 2014-08-27 13:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (238 votes), past polls