in reply to Stripping a seemingly complicated comma-delimited file
Or...# FH is our example file handle while(<FH>){ #action on each line }
The first example loops through the file opened on FH, whilemy @file = <FH>; foreach my $line (@file){ # action on each line }
-xPhase
|
|---|