Also, since database queries generally aren't cheap, I would build a foreach structure thus (in pseudo-code):
my @query = (set up list with queries); my @result; # set up result list foreach (@query) { last if @result = $_->result; }
Liz
In reply to Re: Class::DBI and how to wantarray...
by liz
in thread Class::DBI and how to wantarray...
by edoc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |