in reply to Class::DBI and how to wantarray...
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Class::DBI and how to wantarray...
by edoc (Chaplain) on Aug 03, 2003 at 12:43 UTC | |
by liz (Monsignor) on Aug 03, 2003 at 12:54 UTC | |
by edoc (Chaplain) on Aug 03, 2003 at 13:07 UTC | |
by liz (Monsignor) on Aug 03, 2003 at 13:16 UTC | |
by edoc (Chaplain) on Aug 03, 2003 at 13:22 UTC |