or (print ...; print ...)
use this:
or do {print ...; print ...}
That should do the trick.
One other thing, do use strict, but not inside the subroutine; put it on the top of the script.
In reply to Re: 'or' Bug Bear
by cog
in thread 'or' Bug Bear
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |