Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: parsing CSV with TEXT::CSV

by GertMT (Hermit)
on Jul 22, 2009 at 15:22 UTC ( [id://782330]=note: print w/replies, xml ) Need Help??


in reply to Re: parsing CSV with TEXT::CSV
in thread parsing CSV with TEXT::CSV

This code is for me definitely worth to study in detail. It brings me a step further in my goal and learning process. Right now trying to sort out what this autodie module is all about.
Many thanks!
Gert

Replies are listed 'Best First'.
Re^3: parsing CSV with TEXT::CSV
by Anonymous Monk on Jul 23, 2009 at 01:00 UTC
    autodie stops you from having to write
    open(...) or die; close ... or die;
    and allows you to use eval{} to trap fatal errors
    eval { open ...; open ...; 1 } or print "ERROR $@\n";

Log In?
Username:
Password:

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

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

    No recent polls found