in reply to How can I redirect Windows command line output into a PerlTk frame

You can redirect output to a text widget by tie()ing:
my $text = $mw->Text(-width => 10, -height => 10)->pack; tie *STDOUT, ref $text, $text;
Maybe this will help you
  • Comment on Re: How can I redirect Windows command line output into a PerlTk frame
  • Download Code

Replies are listed 'Best First'.
Re^2: How can I redirect Windows command line output into a PerlTk frame
by BrowserUk (Patriarch) on Mar 05, 2009 at 16:14 UTC
    You can redirect output to a text widget by tie()ing:

    Does this solution work on Win32?

    I ask because I would assume that the tie solution would itself rely upon the use of non-blocking filehandles and select for its internal operation, and as these do not work on Win32 filehandles...


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.