Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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.


Comment on Re^2: improve ugly flow control
•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 musing on the Monastery: (7)
As of 2014-12-21 12:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (104 votes), past polls