Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 meditating upon the Monastery: (4)
As of 2017-11-19 13:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (281 votes). Check out past polls.

    Notices?