in reply to Re^2: Read the csv file to a hash....
in thread Read the csv file to a hash....

I should probably just /msg you, but I had to say, that this construct:

{ local $_ = <DATA>; chomp; .. }

Is wicked. SO MANY TIMES I've re-invented the wheel and created little stupid variable names.. yadda yadda. Never agian. I will localize the scope on $_ and us it as a temporary string manipulation variable.. Thanks for doing that guys homework so well! :-)

Kurt

PS: I really have to echo PBP on this: Use Text::CSV_XS to extract complex variable-width fields. - DCFB