Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Regarding Initialization and Use of Hashes

by Anonymous Monk
on Sep 04, 2012 at 17:51 UTC ( #991667=note: print w/ replies, xml ) Need Help??


in reply to Re: Regarding Initialization and Use of Hashes
in thread Regarding Initialization and Use of Hashes

Specifically, the braces around the hash contents in the first assignment return a hash reference. The parentheses in the second assignment give the context of a list, which will be interpreted as key-value pairs when assigned to a hash.


Comment on Re^2: Regarding Initialization and Use of Hashes

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (11)
As of 2015-07-08 07:29 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 (96 votes), past polls