in reply to strict refs-----the on going saga
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: strict refs-----the on going saga
by SleepingMonk (Novice) on Jul 23, 2003 at 12:10 UTC |