I recommend this Tutorial - Map: The Basics
(And perhaps Perl Idioms Explained - keys %{{map{$_=>1}@list}} as well...)
HTH,
In reply to Re: Using MAP to swap around HoA hash keys and array values.
by planetscape
in thread Using MAP to swap around HoA hash keys and array values.
by awohld
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |