in reply to Re^2: readline() on unopened filehandle
in thread readline() on unopened filehandle

Because you read a line in the while, and then discard that line, and read the next line in your unless statement.
Perl --((8:>*
  • Comment on Re^3: readline() on unopened filehandle

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.