in reply to Is there a Perl Tk "console" widget?
There's a simpler way in Tk to do the tie. You specify the filehandle, the widget type and the variable representing the widget. Also, this might be something else worth looking into.
# Tie STDOUT to the ROText box so that the messages to STDOUT appear t +here tie (*STDOUT, 'Tk::ROText', $widget);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Is there a Perl Tk "console" widget?
by John M. Dlugosz (Monsignor) on Nov 22, 2002 at 15:40 UTC |