You can use lexical file handles under recent version of perl, and you can do the open statement with the 3-arg version too:
open my $THELOG, '>&', \*STDOUT or die $!;
Check out open.
Ted Young
($$<<$$=>$$<=>$$<=$$>>$$) always returns 1. :-)In reply to Re: On being 'critical'
by TedYoung
in thread On being 'critical'
by herby1620
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |