in reply to Handling mutiple rows

Welcome, see The Perl Monks Guide to the Monastery

See Tutorials->Database Programming->DBI recipes