Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: date formatting againby mbethke (Hermit) |
on Jan 23, 2012 at 05:44 UTC ( [id://949310]=note: print w/replies, xml ) | Need Help?? |
Well, if you're bypassing Perl by letting the database server do all the importing, it's no wonder you can't use Perl functions :) What about preprocessing the file? Read each line, split it up, convert the date as you would have otherwise and put it back together. That or insert the data manually using DBI, but preprocessing will likely be both easier and faster.
In Section
Seekers of Perl Wisdom
|
|