in reply to Writing into files and RegExp

What is $line?

Try

while (my $line = <IN>){

Replies are listed 'Best First'.
Re^2: Writing into files and RegExp
by PerlingTheUK (Hermit) on Mar 10, 2006 at 10:50 UTC
    Sorry that happened in the middle of trying to change from $_ to $line - $_.

    Cheers,
    PerlingTheUK