in reply to Basic search question

Could it be because you write to one file but read from another?

Replies are listed 'Best First'.
Re^2: Basic search question
by ForgotPasswordAgain (Vicar) on Jan 06, 2008 at 20:59 UTC
    And print to a read-only filehandle (select IN;), the very file you're reading from.
      I wasn't printing anything on IN - select IN was a careless error.