first fetch all items into an array and then execute the insert for each element of that arrayAnother option might be to keep two database handles, and run the search in one, and the insert in the second one.
In reply to Re^2: fetchrow_array loop in perl 5.10
by choroba
in thread fetchrow_array loop in perl 5.10
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |