Re: Checkbox values and regex

2001-09-16 Thread Teresa Raymond
Never mind, got my !~ and =~ mixed up. >The following code does not seem to allow multiple variables passed >by checkbox multiple variables. The test always evaluates true and >prints my error msg. Help is much appreciated. > >#TEST FOR BAD CHARS >my ($name, $value); > >foreach $name ($q->par

Checkbox values and regex

2001-09-15 Thread Teresa Raymond
The following code does not seem to allow multiple variables passed by checkbox multiple variables. The test always evaluates true and prints my error msg. Help is much appreciated. #TEST FOR BAD CHARS my ($name, $value); foreach $name ($q->param()) {foreach $value ($q->param( $name )) {if