in reply to Just another DBI question.

my @values = map {$_->[0]} @{$sth->fetchall_arrayref};

...if your just getting one value out of each row and you want an array of them, which is what I think you're saying.

Replies are listed 'Best First'.
Re: Re: Just another DBI question.
by merlyn (Sage) on Jan 18, 2002 at 18:22 UTC