in reply to DBD::Sybase, selectall_arrayref "Not a SCALAR reference" error

Which line is line 108?
print "row->[0], row->[1]\n";
row is not $row
echo Not a SCALAR reference at -e line 108 |splain Not a SCALAR reference at -e line 108 (#1) (F) Perl was trying to evaluate a reference to a scalar value, but + found a reference to something else instead. You can use the ref() func +tion to find out what kind of ref it really was. See perlref.
use DBI->quote or see What are placeholders in DBI, and why would I want to use them?

Replies are listed 'Best First'.
Re^2: DBD::Sybase, selectall_arrayref "Not a SCALAR reference" error
by longjohnsilver (Acolyte) on Jun 22, 2009 at 13:38 UTC
    Thanks Anonymous Monk, yes $row.. a typo error and too much of that tiredness :)