Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Initializing Hash reference

by zer (Deacon)
on Jul 17, 2009 at 02:34 UTC ( #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? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2022-08-14 09:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?