in reply to Can't get a simple log creator to work!
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Can't get a simple log creator to work!
by aquinom85 (Initiate) on Feb 23, 2010 at 05:45 UTC | |
by Anonymous Monk on Feb 23, 2010 at 06:27 UTC |