|
Hi Can we use Expect with Perl/Tk. Please give a small example. I am getting the following error if I use Expect spawn inside an perl/Tk action command.
Tk::Error: Can't locate auto/Tk/ROText/CLOSE.al.
I have tied the standard ouput as shown below.
&sys_init;
&gui_init;
# connect STD out to the widget at bottom ...
tie *STDOUT, 'Tk::ROText', $widgets{bottomRoText};
tie *STDERR, 'Tk::ROText', $widgets{bottomRoText}; |