Re: Can Perl redirect STDOUT to file AND to command window?



rcm228@xxxxxxxxx writes:

> I have done standard Perl STDOUT redirection to a pipe and to a file,
> however, I have been searching for a way to redirect STDOUT to a file
> and to the command window at the same time. So far, no luck - is this
> possible?

If you're on a *nix, "man tee".

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
.



Relevant Pages