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

Re^4: When should I use a dispatch table?

by Limbic~Region (Chancellor)
on Dec 01, 2006 at 00:18 UTC ( #587087=note: print w/ replies, xml ) Need Help??


in reply to Re^3: When should I use a dispatch table?
in thread When should I use a dispatch table?

traveler,
Stringification happens both in the hash table and in the if/elsif equality test so it is fair. The eq forces string context and so do hash keys. Anyone that has tried to use a reference as a hash key can attest to that.

Cheers - L~R


Comment on Re^4: When should I use a dispatch table?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2014-09-18 07:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (109 votes), past polls