Here the variable $a contains the string, but in $a->{"aaa"} = "a" I used it as if it contained a hash reference.$ perl -e 'use strict; my $a = "abc"; $a->{"aaa"} = "a"' Can't use string ("abc") as a HASH ref while "strict refs" in use at - +e line 1.
In reply to Re: strict refs-----the on going saga
by zby
in thread strict refs-----the on going saga
by SleepingMonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |