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'
In reply to Re: Can't use string "1" as a HASH ref while "strict refs" in use
by Chmrr
in thread Can't use string "1" as a HASH ref while "strict refs" in use
by GhodMode
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |