Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Initializing Hash reference

by zer (Deacon)
on Jul 17, 2009 at 02:34 UTC ( [id://780903]=note: print w/replies, xml ) Need Help??


in reply to Initializing Hash reference

In the first example you are setting a referance to a scalar which points to a hash. Similar to: $err->{'CMD'} = ... The latter example can be handled similar to $arrayref = \@ARGV; so $arrayref = ... http://perldoc.perl.org/perlref.html

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2024-04-23 21:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found