in reply to Perl/Tk and locking

  1. Please let us know what platform/OS you're running this on
  2. Let us know what version of Perl you're running
  3. Let us know what version of Perl/Tk you're running
  4. 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;

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.