if (! open LOG ) {
That line is equivalent to:
if (! open LOG, '<', $main::LOG ) {
And since you didn't store a file name in $main::LOG the open will fail.
In reply to Re: Can't get a simple log creator to work!
by jwkrahn
in thread Can't get a simple log creator to work!
by aquinom85
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |