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

Re: Difference in Hash Declaration

by moritz (Cardinal)
on May 07, 2012 at 07:23 UTC ( #969203=note: print w/ replies, xml ) Need Help??


in reply to Difference in Hash Declaration

Round parens don't create any substructures. Curly braces create hash references, see perlreftut.

Putting a hash reference in a position where a hash key is expected doesn't make any sense, because it is converted to a string which loses all the interesting information that way.


Comment on Re: Difference in Hash Declaration

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (11)
As of 2013-05-22 01:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (453 votes), past polls