[VPM] can I do this?

Carl B. Constantine cconstan at csc.UVic.CA
Tue Mar 2 17:19:08 CST 2004


Can I use unless in concert with or (||) like you can if statements?

Consider the following:
unless ($fileType =~ "PostScript") or ($fileType =~ "Printer Job
Language) {
  my $pgGuess = countASCII($dataFile);
  return($pgGuess);
}

Or do I have to do something different for a compond test like this?

-- 
Carl B. Constantine         University of Victoria
Programmer Analyst          http://www.csc.uvic.ca
UNIX System Administrator   Victoria, BC, Canada
cconstan at csc.uvic.ca        ELW A248, 721-8766



More information about the Victoria-pm mailing list