Grep question

[email protected] (David Gilden)
Newsgroups perl.beginners
Message-ID <r02010500-1049-AA215812331711DD92CF0003935B6868@[192.168.1.3]>
Could someone please help me the syntax here....


my $Comments = param('(Comments');
&BADemail if ($Comments =~ /[virtualthirst.com|napavalleycf.org]/ig);

This should go to  &BADemail if $Comments contains either string, regardless 
else is contained in the $Comments.


Thanks,

Dave

(kora musician / audiophile / webmaster @ www.coraconnection.com  / Ft. Worth, TX, USA)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.