in reply to Re: search and extract lines which contain a word
in thread search and extract lines which contain a word

Note, when using strict, both $fh_in and $fh_out must have "my" in front of them in the calls to open.

  • Comment on Re^2: search and extract lines which contain a word

Replies are listed 'Best First'.
Re^3: search and extract lines which contain a word
by ikegami (Patriarch) on Mar 26, 2008 at 18:02 UTC

    I would argue that my should be there either way, but that Perl only detects the error when use strict; is missing.

    But that's debatable. Anyway, thanks. Fixed.