while () { chomp; push @record, [split(/,/, $_, -1)]; }