in reply to Re^3: Getting columns from csv file in perl
in thread Getting columns from csv file in perl

my @data = map { [split /,/] } <>;

You might want a chomp in there to avoid leaving the line terminator in the last field.

my @data = map { chomp; [split /,/] } <>;

I second your *sigh* by the way.

Cheers,

JohnGG