There's a zip in List::MoreUtils that you can use.
use List::MoreUtils 'zip'; @keys = qw/a b c/; @values = qw/foo bar baz/; my %h = zip @keys, @values;
In reply to Re: Making a hash with lists
by kyle
in thread Making a hash with lists
by knarf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |