in reply to Hash slices and too many keys
How about:
Still ugly, but works.@hash{@keys} = (@values, ('') x @keys);
|
---|
In Section
Seekers of Perl Wisdom