Change =~ to !~
Wags ;)
-----Original Message-----
From: Scott Martin [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 06, 2001 10:17
To: [EMAIL PROTECTED]
Subject: execute if NOT true.
I am testing a string like so: if ($url =~ /maincat/) { block } but I
want to execute if it does NOT find maincat. How would I do that?
Could I use a ! in front of the =
thanks
-Scott
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- execute if NOT true. Scott Martin
- RE: execute if NOT true. Mooney Christophe-CMOONEY1
- Wagner-David
