http://qs321.pair.com?node_id=782330


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";