Or you can use substitutionsif (/badword/i){print "You are a naughty person...You should wash your + mouth with soap}
s/badword1//; s/badword2//; ..etc;
Time flies like an arrow, fruit flies like banannas
In reply to Re: grepping arrays
by hsweet
in thread grepping arrays
by coldfingertips
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |