IO::Tee

> -----邮件原件-----
> 发件人: Sooraj S [mailto:[email protected]]
> 发送时间: 2010年11月日 23:14
> 收件人: [email protected]
> 主题: Redirecting the output
> 
> Hi,
> 
> Can i redirect the output to a file as well as stdout at the same time...i
dont want
> to use tee command..i want this to be done in my perl program itself...
> 
> open STDOUT, '>' , 'log.txt'';
> 
> By including this in my perl program i can redirect my output to log.txt.
But i want
> my output to be displayed on the screen as well..
> 
> 
> --
> To unsubscribe, e-mail: [email protected] For additional
> commands, e-mail: [email protected] http://learn.perl.org/



--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to