I am a bit confused whether this is possible or not?
I would like to have an array reference, the command am using is something like
:
--
$sth = $dbh->prepare("SELECT * from tablename");
$sth->execute;
$aref = $sth->fetchrow_array;
--
The last line, viz $aref = $sth->fetchrow_array;
I am expecting $aref to be an array reference ...
But its giving the first element of that array, not an array reference ... :-/
even its not giving me the length of the array ...
If I am counting on the scalar behaviour, it should give the length of the
array right?
But its not so :(
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>