Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: improve ugly flow control

by perrin (Chancellor)
on Sep 19, 2004 at 20:52 UTC( #392234=note: print w/replies, xml ) Need Help??


in reply to •Re: improve ugly flow control
in thread improve ugly flow control

That's a neat idea. Unfortunately, in my real code, the $hash{$_} test is actually something expensive, so I need to stop as soon as one of the options works. I should have made a better example.

Replies are listed 'Best First'.
•Re^3: improve ugly flow control
by merlyn (Sage) on Sep 20, 2004 at 05:55 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2016-08-29 21:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (409 votes). Check out past polls.