I think many here are confused because you split your script into two halves.
Instead of
my %nums =( "$number", $info);
which initializes (i.e. removes previous information in) a hash, you should use
$nums{$number}= $info;
In reply to Re: number of keys and values in a hash
by jethro
in thread number of keys and values in a hash
by veerubiji
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |