in reply to Stripping a seemingly complicated comma-delimited file

From the information you give, I'd imagine that you have a file handle
open, and are trying to read each line from it.
# FH is our example file handle while(<FH>){ #action on each line }
Or...
my @file = <FH>; foreach my $line (@file){ # action on each line }
The first example loops through the file opened on FH, while
the second example stores the file opened on FH in the array
@file, one line per entry. I hope this is what you wanted.

-xPhase