in reply to File editing
open SOURCE,"<source.file" or die "Error opening source.file: $!"; open DEST,">dest.file" or die "Error opening dest.file: $!"; while ($line = <SOURCE>) { next if ( 1 .. ($line =~ /RE/) ); print DEST $line; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE (tilly) 2: File editing
by tilly (Archbishop) on Sep 28, 2000 at 17:13 UTC |