in reply to Populating an array via a DBI call - simplified
Hi,
my personal choice for a easy to use DBI interface is DBIx::Simple.
For your task i took the example from DBIx::Simple::Examples:
my @names = $db->query('SELECT name FROM people WHERE id > 5')->flat;
In Section
Seekers of Perl Wisdom