in reply to File Loader (load the content of a file and insert into DB) - the code
Actually, it appears OP is asking for comment on the (longish) code he posted after the last, then current (as of 1700 GMT, 20 Jun) reply.
So, I am NOT downvoting... but offer OP the advice that this question were better asked in the CB, instead of starting a new thread.
In Section
Seekers of Perl Wisdom