That code should have generated a syntax error. You're missing a set of parentheses around the two conditions in the if:
Please refer to perlsyn for documentation on if, and perlop for documentation on || and or.if( (-e "data/$file.data") || (-e "data/$otherfile.data") )
In reply to Re: The or thing.
by bobf
in thread The or thing.
by nasa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |