kgnickl has asked for the wisdom of the Perl Monks concerning the following question:

So with tK I was able to redirect errors from the command prompt (windows....) to both a log file and a tK widget to display status. sub Tk::Error{ #Stuff goes here } Is there something similar I can do to direct STDOUT, STDERR, etc.. (basically specific and general output) to where I want it to go vs. the command prompt? I'm using WIN32::GUI to hide the cmd window then displaying some status items on the tK GUI window and others get logged. I'm hopeing this is super easy like with tK, but I'm still pretty new at perl and don't know much about it. Thanks!
  • Comment on How to redirect STDOUT, STDERR, etc....

Replies are listed 'Best First'.
Re: How to redirect STDOUT, STDERR, etc....
by wind (Priest) on Feb 25, 2011 at 22:40 UTC