$tmp_string="SARSTATS$SAROPT"; $rec=$$tmp_string[$SAR_DATA_START]{ $tmp_array[0] };
Why are you using a scalar variable like a reference?
Are you useing strict and warnings?
Ciao!
--bronto
The very nature of Perl to be like natural language--inconsistant and full of dwim and special cases--makes it impossible to know it all without simply memorizing the documentation (which is not complete or totally correct anyway).
--John M. Dlugosz
In reply to Re: Can't coerce array into hash at
by bronto
in thread Can't coerce array into hash at
by gspot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |