in reply to
skip blank lines that may contain from time to time some ";"
I think there is a CSV module in CPAN that handles everything, and has been updated through hard battles against files you have yet to dream about.
Comment on
Re: skip blank lines that may contain from time to time some ";"
In Section
Seekers of Perl Wisdom