my %hash = ( '1' => 'one', '2' => 'two', '3' => 'three' ); my %new; @new{ values %hash } = keys %hash; print Dumper( \%new );
perl -le 'print+unpack("N",pack("B32","00000000000000000000001000111000"))'
In reply to Re: Reversing Hash
by rob_au
in thread Reversing Hash
by artist
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |