in reply to
Perl/Tk and locking
Please let us know what platform/OS you're running this on
Let us know what version of Perl you're running
Let us know what version of Perl/Tk you're running
A small code sample would be of value
Without that info, its very difficult to diagnose your issue. It may be as simple as setting autoflush on your file handle:
my $oldfd = select TKFD; $| = 1; select $oldfd;
[download]
Comment on
Re: Perl/Tk and locking
Download
Code
Replies are listed 'Best First'.
Re^2: Perl/Tk and locking
by
Anonymous Monk
on Nov 27, 2005 at 15:01 UTC
I am running ActiveState's Perl v5.8.7 built for MSWin32-x86-multi-thread on a Windows machine with Perl/Tk version 804.27.0.2. Adding the $| =1 autoflush to the code did the trick. Thanks a bunch for your help.
[reply]
In Section
Seekers of Perl Wisdom