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


in reply to Re: Putting a filename as a parameter to a perl script then reading from it in the code?
in thread Putting a filename as a parameter to a perl script then reading from it in the code?

If you're going to use that you should remember to use ARGV::readonly;

But it this is indeed CSV, don't bother reinventing the wheel, start with Text::CSV, expecially these http://search.cpan.org/dist/Text-CSV_XS/MANIFEST programs
examples/csv2xls Script to onvert CSV files to M$Excel
examples/csv-check Script to check a CSV file/stream
examples/csvdiff Script to shoff diff between sorted CSV files
examples/parser-xs.pl Parse CSV stream, be forgiving on bad lines

  • Comment on Re^2: Putting a filename as a parameter to a perl script then reading from it in the code?