On Tue, 28 Oct 1997 13:49:50 -0600 (CST) mark@cheers.jsc.nasa.gov (Mark Manning/Muniz Eng.) wrote: >Anyway, I was looking through the latest release of >CGI.pm. (At least I think it is the latest release - I >could be wrong.) And I noticed the following: > . > elseif( $OSNAME=~/Mac/i){ > . Perl gurus, correct me if I'm wrong, but I'm pretty sure this is correct syntax. Equality testing operators are == and != for numbers and eq and ne for text. *BUT* regular expression-based comparisons use the operators with ~, so checking for equality uses =~ and inequality is !~. There are also corresponding greater-than, et al permutations for the numbers and text portions. -Aaron ------------------------------------------------ Aaron Munter, Technology Development Coordinator Salem-Keizer Public Schools, Salem, Oregon, USA http://www.salkeiz.k12.or.us/ ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch