If you are not sure if your solution is correct you need to ask yourself the following questions:
use Data::Dumper; print Dump \%test; print Dump \%reversed_test; # a better name than %test1
In reply to Re: key-values swapped
by Corion
in thread key-values swapped
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |