Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Fetch array of values from hashref

by haukex (Bishop)
on Sep 11, 2019 at 07:39 UTC ( #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
Node Status?
node history
Node Type: note [id://11106005]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2020-10-26 18:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (252 votes). Check out past polls.

    Notices?