in reply to Re: Give me my gui back!
in thread Give me my gui back!

Tk::ExecuteCommand is not in my package.

I'm using ActivePERL 5.8.0 and Tk 800.024

I saw it mentioned in Mastering Perl/Tk but, they built their own module in the book.

Does that code work on your box? Where can I get Tk::ExecuteCommand?

-David

Replies are listed 'Best First'.
Re: Re: Re: Give me my gui back!
by iburrell (Chaplain) on Nov 19, 2003 at 00:14 UTC
    Tk-ExecuteCommand is available through PPM for ActivePerl on Windows.

    It doesn't help you since it sounds look you need to parse the output from the command. The important part is the fileevent call which setups an event handler for non-blocking IO from the handle. The handle can be a pipe to a sub-command. I think this is describe in the "Mastering Perl/Tk" book.