Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2017-04-24 19:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (445 votes). Check out past polls.