Don't ask to ask, just ask | |
PerlMonks |
Re^5: Skip problematic lines while populating databaseby dave_the_m (Monsignor) |
on Aug 17, 2020 at 17:38 UTC ( [id://11120846]=note: print w/replies, xml ) | Need Help?? |
Given that the code needs to handle 60Gb of data, it seems to me that having a couple of extra lines in the code to optimise things would be called for in this case. An even if it didn't need optimising, using placeholders automatically gives correct quoting of fields, so the code won't die just because a field contains a single quote character.
Dave.
In Section
Seekers of Perl Wisdom
|
|