in reply to Re: Remove a line of text
in thread Remove a line of text

#4 can be reduced to a hash, which is shorter and more efficient yet. Besides that, I doubt the OP wants to print $TheLine for each word it doesn't match.