RE: execute if NOT true.

2001-08-06 Thread Wagner-David
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

RE: execute if NOT true.

2001-08-06 Thread Mooney Christophe-CMOONEY1
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