in reply to Re: Extracting string from a file
in thread Extracting string from a file
should instead bewhile (my $line = $FH) {
The "<>" around $FH reads from the filehandle (a line at a time, in this context).while (my $line = <$FH>) {
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Extracting string from a file
by Bindo (Acolyte) on Nov 22, 2013 at 06:33 UTC |