laziness, impatience, and hubris | |
PerlMonks |
Re: Operators: arithmetic and otherwiseby Anonymous Monk |
on Jun 29, 2001 at 01:14 UTC ( [id://92471]=note: print w/replies, xml ) | Need Help?? |
"You can also use an and to allow something to execute only if the first criteria evaluates to 0;
$isMonday and print "Today is Monday\n";"
if the first criteria evaluates to 0, the followed command will not execuate. In this situation, an "or" should be used instead of an "and".
In Section
Tutorials
|
|