On 2002-11-27 09:55:23 -0500, Paul Boutros wrote: > On Wed, 27 Nov 2002 [EMAIL PROTECTED] wrote: > > > On Wed, 27 Nov 2002 05:02:16 -0800, "Ramon Hildreth" <[EMAIL PROTECTED]> wrote: > > So, for me the code below works fine: > while (my $val = $sth->fetchrow_array()) { > push @centers, $val; > } > > Hopefully I'm not mangling DBI in some evil way here, but this type of > structure has worked for me repeatedly in the past....
It is also in the fine manual: In a scalar context, "fetchrow_array" returns the value of the first field. hp -- _ | Peter J. Holzer | Unser Universum wäre betrüblich |_|_) | Sysadmin WSR / LUGA | unbedeutend, hätte es nicht jeder | | | [EMAIL PROTECTED] | Generation neue Probleme bereit. __/ | http://www.hjp.at/ | -- Seneca, naturales quaestiones
msg14397/pgp00000.pgp
Description: PGP signature