open(FILEHANDLE,"+< $FILENAME) or die print $!; while(<FILEHANDLE>){ if ($_ ne 'b|b|b|b|b|b'){ push(@outtext,$_); } Do what you want from here. Of course it always a good idea to lock the file if you are on a UNIX system.
In reply to Re: How do I delete/modify one line from test file ?
by draco_iii
in thread How do I delete/modify one line from test file ?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |