in reply to Re^3: Perl and DBI and CGIin thread Perl and DBI and CGI
The code is right, but using arrayref is more efficient/faster, consider it if you have a lot of data.