Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: How do I refer to an element of a hash of arrays as an array

by arhuman (Vicar)
on Mar 08, 2001 at 19:17 UTC ( #62967=note: print w/replies, xml ) Need Help??


in reply to How do I refer to an element of a hash of arrays as an array

beccause $h{'one'} is a ref to an array !
Use my @a=@$h{'one'};

Originally posted as a Categorized Answer.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2023-03-25 04:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (62 votes). Check out past polls.

    Notices?