in reply to
Exit a program if there are any matching lines?
Have a look at the following:
open
Conditional-and-looping-constructs
perlrequick
(regular expressions)
These docs will help get you started. If you hit a snag show us what you've tried and we'll take it from there.
Good luck!
Comment on
Re: Exit a program if there are any matching lines?
In Section
Seekers of Perl Wisdom