Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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

Replies are listed 'Best First'.
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 avoiding work at the Monastery: (6)
As of 2016-08-27 11:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (379 votes). Check out past polls.