That line should be:
print Dumper(\%x);Instead of:
print Dumper($x);Since you could have a hash, %x, and a completely unrelated scalar, $x, in the same scope.
In reply to Re^3: Sorting the hash
by halfcountplus
in thread Sorting the hash
by annem_jyothsna
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |