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>) {
In reply to Re^2: Extracting string from a file
by RMGir
in thread Extracting string from a file
by Bindo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |