in reply to The or thing.
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") )
|
|---|