in reply to Can't coerce array into hash at
$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
|
|---|