http://www.perlmonks.org?node_id=410340


in reply to Re: Pearls (not really) of Perl programming
in thread Pearls (not really) of Perl programming

Plus, depending on the number of lines in the INFILE, you probably swamped the DB by not keeping the $dbh outside of the while.