Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Welcome to the Monastery
 
PerlMonks  

Re^3: Avoiding if/else knots

by planetscape (Canon)
on Feb 19, 2012 at 15:44 UTC ( #954877=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Avoiding if/else knots
in thread Avoiding if/else knots

Please see Re: Using Number Ranges in a Dispatch Table for a subtle flaw that causes both the above code and ikegami's variant to fail when the dispatch table is passed 1000.

Please do NOT upvote this node, save your votes for afoken's excellent answer instead. I'm just cross-referencing for those who stumble across this in the future. :-)

HTH,

planetscape


Comment on Re^3: Avoiding if/else knots
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (11)
As of 2014-04-17 05:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (439 votes), past polls