in reply to Stripping a seemingly complicated comma-delimited file

This is a bit tough without seeing the code, but I am guessing this will probably do what you are asking...
while(<DATA>) { ($var1, $var2, ...) = split(/,/); ... }
The loop will read each line of the file into $_, which is split. Then you can go to town on it however you like.