if (-e "data/$file.data") || (-e "data/$otherfile.data") { print " <BR>Hooray at least one of the the files exists"; } else { print "<BR>Hohum neither of the files exist"; }
if (-e "data/$file.data") or (-e "data/$otherfile.data") { print " <BR>Hooray one of the files exist"; } else { print "<BR>Hohum neither of the files exist"; }
In reply to The or thing. by nasa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |