Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: quotes in hash keys

by ioannis (Abbot)
on May 21, 2006 at 15:37 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://550803]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-19 19:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found