[Omaha.pm] am I drunk.... code reduction?

Jay Hannah jhannah at omnihotels.com
Tue Aug 15 15:51:29 PDT 2006


Am I drunk? Doesn't 

   if ((not $row[0]  =~ /RMCHG/) and (not $row[0]  =~ /RMCHRG/) and (not
$row[0]  =~ /REUN/)) {
      if ($row[0] eq 'RMADJ') {
         # Do something...
      }
   }

Reduce to 

   if ($row[0] eq 'RMADJ') {
      # Do something...
   }

?

j


More information about the Omaha-pm mailing list