in reply to 'or' Bug Bear
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: 'or' Bug Bear
by itub (Priest) on Feb 10, 2005 at 14:11 UTC |