[Gllug] Perl Question - Spam Filter for NMS Form Mail

Henry Gilbert henry.gilbert at gmail.com
Mon Feb 9 20:12:54 UTC 2009


2009/2/9 David Damerell <damerell at chiark.greenend.org.uk>:
> Well, without commenting on the prudence of what you are trying to do,
> why not;
>
> if ((nasty_condition_one) or
>    (nasty_condition_two) or
>    (nasty_condition_three)) {
>  print "Location: http://www.google.com\n\n"; exit;
> }
>
> "man perlretut" and "man perlre" should make exercises like checking
> for "://" simple.

Excellent I will try that.

I am beginning to like Perl, I want to learn more some day.

regards

HG

-- 
SEO Mastery
http://www.alliancetec.com
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list