The most common cause for having a number where a reference is expected is when
$Myhash{$item} = @array;
is used instead of
$Myhash{$item} = \@array;
In reply to Re: Can't use string ("2") as a HASH ref while "strict refs" in use
by ikegami
in thread Can't use string ("2") as a HASH ref while "strict refs" in use
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |