Don't be shy about asking specific, detailed questions on how/why that works, after researching the "map" function.$VAR1 = { map { $_->{name} => $_ } @$VAR1 };
"From there to here, from here to there, funny things are everywhere." -- Dr. Seuss
In reply to Re: How to loop through hash of array and convert into hash with key and value.
by NetWallah
in thread How to loop through hash of array and convert into hash with key and value.
by Sami_R
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |