my %out = map {$^k => [$^v, $^w]}, @ref;
The ^ secondary sigil ("twigil") is a self declaring formal paramter, all of the variables starting with $^ will be filled in the block in lexicographic order.
In reply to Re^2: Elegance, dammit!
by moritz
in thread Elegance, dammit!
by oko1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |