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
You were close!
$url !~ /maincat/
-Original Message-
From: Scott Martin [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 06, 2001 12:17 PM
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 d