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

Why would I be skipping every odd line?
  • Comment on Re^2: readline() on unopened filehandle

Replies are listed 'Best First'.
Re^3: readline() on unopened filehandle
by Perl Mouse (Chaplain) on Oct 07, 2005 at 13:50 UTC
    Because you read a line in the while, and then discard that line, and read the next line in your unless statement.
    Perl --((8:>*
    A reply falls below the community's threshold of quality. You may see it by logging in.