Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 ( [id://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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-03-19 06:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found