Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
$name = $sql->[0]{user} || '';
Software error: Can't use string ("") as an ARRAY ref while "strict refs" in use at...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Array ref error!
by kennethk (Abbot) on Mar 09, 2010 at 15:12 UTC | |
|
Re: Array ref error!
by Corion (Patriarch) on Mar 09, 2010 at 15:02 UTC | |
|
Re: Array ref error!
by DrHyde (Prior) on Mar 10, 2010 at 10:53 UTC |