in reply to strict refs-----the on going saga

Please post your code. Now I can only gues: perhaps you use a variable whose value is the 'abc' string as if it contained a hashref.
$ 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.
Here the variable $a contains the string, but in $a->{"aaa"} = "a" I used it as if it contained a hash reference.

Replies are listed 'Best First'.
Re: Re: strict refs-----the on going saga
by SleepingMonk (Novice) on Jul 23, 2003 at 12:10 UTC
    cheers for the explanation, i understand it now, and have subsequently got rid of the error, :D, cheers,

    SleepingMonk