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

Re^2: Fetch array of values from hashref

by haukex (Archbishop)
on Sep 11, 2019 at 07:39 UTC ( [id://11106005]=note: print w/replies, xml ) Need Help??


in reply to Re: Fetch array of values from hashref
in thread Fetch array of values from hashref

But for your problem, more clear solution would be:
my @ar = values %$h;

However, note this form is not equivalent: the order of the returned values will be random.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (1)
As of 2026-05-11 02:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.