If really want negative then the 1 should be 0. Wags ;) -----Original Message----- From: Naveen Parmar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 13:20 To: [EMAIL PROTECTED] Subject: Conditional Expressions
The following conditional expression tests whether the value of $number1 is negative or greater than 12: (($number1 < 1) || ($number1 > 12))" Shouldn't this test whether the number is 0, negative, or > 12? Is this unique to the way Perl uses numbers? TIA, - NP _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]