Jorge Goncalvez wrote:
> Hi, I would like to parse a file and delete the entire line if it begins with
> subnet.
> How can I do this in Perl?
You can't - but you can write the lines-to-keep to a new temporary file
- then unkink original and rename temporary files as necessary,
something like ...
Jorge Goncalvez wrote, on Monday, November 26, 2001 11:31 AM
: Hi, I would like to parse a file and delete the entire line if it
: begins with
: subnet.
: How can I do this in Perl?
Start by reading the faq. "perldoc -q delete" gives (among
other interesting tidbits):
Found in D:\Perl