water has asked for the wisdom of the Perl Monks concerning the following question:
When redirecting STDOUT to a scalar,
output doesn't go to the screen (obviously). Is there a way to 'tee' it, so output goes both to the screen and captured in the scalar? How does / Does IO::Tee play with IO::Scalar?tie *STDOUT, 'IO::Scalar', \$stdout;
Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Tee STDOUT
by water (Deacon) on Sep 24, 2004 at 02:21 UTC | |
by ikegami (Patriarch) on Sep 24, 2004 at 02:31 UTC | |
by water (Deacon) on Sep 24, 2004 at 02:39 UTC | |
|
Re: Tee STDOUT
by eyepopslikeamosquito (Archbishop) on Sep 24, 2004 at 09:37 UTC | |
|
Re: Tee STDOUT
by ikegami (Patriarch) on Sep 24, 2004 at 02:07 UTC |