in reply to Can't use string "1" as a HASH ref while "strict refs" in use
It's trying to tell you one of the following; either $sw_ctype_brkdown{$switchnum}{$calltype} = 1; or $sw_ctype_brkdown{$switchnum} = 1; It's impossible to tell which at this point. In any case, you're treating something as a hash reference which is really the number 1. Data::Dumper might be your friend in this case, to help track down what your data structure actually looks like.
perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Can't use string "1" as a HASH ref while "strict refs" in use
by GhodMode (Pilgrim) on Mar 04, 2002 at 20:54 UTC | |
by Chmrr (Vicar) on Mar 04, 2002 at 21:26 UTC |