in reply to Re: MSSQL Select to an array: error with selectcol_arrayref
in thread MSSQL Select to an array: error with selectcol_arrayref
to@EasySetTableNames = @{$sqlCmd->selectcol_arrayref($sqlStatement)};
and now get this error:@EasySetTableNames = @{$dbh->selectcol_arrayref($sqlStatement)};
I thought I had defined the array, but as mentioned before I'm baffled as to how Perl handles arrays and strings and going between them.Can't use an undefined value as an ARRAY reference at C:\temp\test.pl +line 29 (#1) (F) A value used as either a hard reference or a symbolic referenc +e must be a defined value. This helps to delurk some insidious error +s.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: MSSQL Select to an array: error with selectcol_arrayref
by pfaut (Priest) on Dec 14, 2007 at 15:45 UTC | |
by Olaf (Acolyte) on Dec 17, 2007 at 15:28 UTC |