Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: parsing CSV with TEXT::CSV

by GertMT (Friar)
on Jul 22, 2009 at 15:22 UTC ( #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


Comment on Re^2: parsing CSV with TEXT::CSV
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
Node Status?
node history
Node Type: note [id://782330]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2015-07-04 02:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls