Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: quotes in hash keys

by ioannis (Prior)
on May 21, 2006 at 15:37 UTC ( #550803=note: print w/replies, xml ) Need Help??


in reply to quotes in hash keys

You are at the skill level where only you know best what you should. But, remember that the terms inside the brackets are not always interpreted as string constants. For example, these are not equivalent:

$name->{__PACKAGE__} $name->{__PACKAGE__.''} ;

$name->{ 'PI()'} $name->{ PI() }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://550803]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2016-12-05 02:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (71 votes). Check out past polls.