Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: How to loop through hash of array and convert into hash with key and value.

by Sami_R (Sexton)
on Dec 28, 2019 at 11:11 UTC ( [id://11110693]=note: print w/replies, xml ) Need Help??


in reply to Re: How to loop through hash of array and convert into hash with key and value.
in thread How to loop through hash of array and convert into hash with key and value.

Mapping worked after modifying like...
my $VAR3 = { map { delete $_->{name} => $_ } @$VAR1 };
Thanks.
  • Comment on Re^2: How to loop through hash of array and convert into hash with key and value.
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11110693]
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: (9)
As of 2024-04-24 10:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found