Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Without looping over the array and connecting to the database infinitely many times, how can I do it all in one run?
This is for a MySQL connection.@names = qq(aaron richard robert penny); my $data = qq(SELECT id, order_num, state FROM orders WHERE names=@nam +es); ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: confused about reading from database using an array
by Joost (Canon) on Dec 12, 2006 at 20:46 UTC | |
by Anonymous Monk on Dec 12, 2006 at 20:49 UTC | |
by Joost (Canon) on Dec 12, 2006 at 20:54 UTC | |
|
Re: confused about reading from database using an array
by sgifford (Prior) on Dec 12, 2006 at 22:30 UTC |