in reply to Re^2: Perl Array issue.
in thread Perl Array issue.
Let's back up a step: what's the purpose of your inner while loop? Is there a reason you might want to insert some records from your input file multiple times? If not, then you don't need that while loop (or $done or $retry). Just loop through your CSV file record by record as you're doing, and for each record, do whatever processing you need to do on the fields and insert it into your database.
Aaron B.
My Woefully Neglected Blog, where I occasionally mention Perl.
|
|---|