Just another Perl shrine | |
PerlMonks |
Re: Sybase Perl DBIby Anonymous Monk |
on Oct 18, 2012 at 20:15 UTC ( [id://999815]=note: print w/replies, xml ) | Need Help?? |
Is there a reason you are using Sybase::DBlib instead of the more usual DBI? DBI has a handy selectcol_arrayref() function which folds a single-column resultset into an array reference.
(Usually you use DBI with the prepare-execute-fetch combination, though. The select{row,all,col} functions are there just for convenience.)
In Section
Seekers of Perl Wisdom
|
|