Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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?
LanX i.e. the newest everything engine
[holli]: nice. i never thought of hosting a script on the site
[LanX]: It's not a perfect solution, since it means invoking the monastery several times, but IMHO still better than hosting on another server
[holli]: i'm surprised it even executes. the server sends text/plain AND a content-dispositio n header
[holli]: this really really should not be executed as Javascript
erix's head is getting content indisposed
[holli]: maybe try a GET instead?
[moritz]: I must say, when I was very active on perlmonks, I got really used to the markup and all the workflows

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (12)
As of 2017-11-20 19:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (291 votes). Check out past polls.

    Notices?