But beside that, you have more problems. You're not checking the return value of 'open', the file might not open. Furthermove, if you do:
you will be skipping every odd line.while ((my $line_B = <FILE>)) { last OUTER unless defined ($line_B = <FILE>)
In reply to Re: readline() on unopened filehandle
by Perl Mouse
in thread readline() on unopened filehandle
by Win
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |