[Omaha.pm] and not and not and not and not...

Jay Hannah jhannah at omnihotels.com
Thu Sep 28 11:05:06 PDT 2006


Project: Add "VRMCH" to this list:

if ((not $row[0]  =~ /RMCHG/) and (not $row[0]  =~ /RMCHRG/) 
   and (not $row[0]  =~ /REUN/)) {

Solution:

if ($row[0] !~ /^(RMCHG|RMCHRG|REUN|VRMCH)$/) {

j


More information about the Omaha-pm mailing list