I tried this scheme on my system. It ran into the same issue I had when trying the example out of the O'Reilly book. The first log works great, but the second log attempt results in the following error at the first print statement: tee: write error: Invalid argument
Are you running this on 5.8? Could there be an issue with my 'tee'?
Thanks - Rick
In reply to Re^3: Porting Perl 5.6 to Perl 5.8 issue with self-tie
by fwashbur
in thread Porting Perl 5.6 to Perl 5.8 issue with self-tie
by fwashbur
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |