in reply to Re^2: Save all but line 32!
in thread Save all but line 32!

I thought $. only resets on a close call? meaning the <> operator doesn't reset it, since it never closes the filehandles. So the following code will omit the 35th line only for the first file, but not for any other file:
perl -ne 'print unless $. == 35' file1 file2
Is that correct?

-- Dan