Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Module constant and constants in Hashes

by borisz (Canon)
on Jan 14, 2009 at 14:49 UTC ( #736241=note: print w/ replies, xml ) Need Help??


in reply to Module constant and constants in Hashes

another option is:

my %english_translation = ( NULL() => "Zero", EINS() => "One", ZWEI() => "Two", );
Boris


Comment on Re: Module constant and constants in Hashes
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (11)
As of 2015-07-30 14:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (271 votes), past polls