Some None of the other solutions will not correctly handle a list of files either (only the ones using $. will). And this one is easily extended to do so:
perl -MTie::File -e 'tie(@file, 'Tie::File', $_) and splice @file, 31, 1 for @ARGV' file1 file2 file3Update:zigdon is right. I should have tested.
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: