Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by Anonymous Monk
on Dec 08, 2012 at 03:42 UTC ( #1007845=note: print w/ replies, xml ) Need Help??


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?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007845]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (12)
As of 2014-10-21 19:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (107 votes), past polls