Re: Can Perl redirect STDOUT to file AND to command window?
- From: usenet@xxxxxxxxxxxxxxx
- Date: 29 Nov 2005 15:37:16 -0800
rcm228@xxxxxxxxx wrote:
> However, I am looking for something like this where I dont need to
> print to the $tee handle:
Hmmm. I don't know if you can do this. 'print' (by default) goes to
STDOUT. But you want to redefine STDOUT as a tee that goes to a file
and... STDOUT. But STDOUT is now a tee that goes to a file and...
STDOUT. This goes on forever.
.
- Follow-Ups:
- References:
- Prev by Date: Re: Can Perl redirect STDOUT to file AND to command window?
- Next by Date: Re: Can Perl redirect STDOUT to file AND to command window?
- Previous by thread: Re: Can Perl redirect STDOUT to file AND to command window?
- Next by thread: Re: Can Perl redirect STDOUT to file AND to command window?
- Index(es):
Relevant Pages
|