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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://7978]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-16 07:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found