$Aoh{ testa } = @{ exec_select ($sql ) } [0] ->{ home1 };
This piece of code basically does the following
"Can't use an undefined value as a HASH reference..."
This error is caused by the first element in the above array being undefined. Therefor it can't be dereferenced as a hash.
Cheers, Flo
In reply to Re: Understanding this line of Code
by rafl
in thread Understanding this line of Code
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |