|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re: Parsing file and removing a sectionby repson (Chaplain) |
| on Mar 08, 2001 at 12:03 UTC ( #62933=note: print w/ replies, xml ) | Need Help?? |
|
perl -ne 'print unless /<VirtualHost 123.123.123.123>/ .. m|</VirtualHost>|;' filename You should be able to find out about the .. in perlop.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||