in reply to Re^3: Tk::Stderr flush
in thread Tk::Stderr flush

Still trying, still failing ...
we are the music makers and we are the dreamers of dreams - ww

Replies are listed 'Best First'.
Re^5: Tk::Stderr flush
by Anonymous Monk on Sep 17, 2012 at 19:35 UTC

    What did you try?

      Some attempts: 1) Inserted the line
      $text->delete('0.0', 'end');
      anywhere possible. 2) Deleted all references to "privateData". 3) Added, removed and changed:
      $mw->withdraw; $mw->protocol(WM_DELETE_WINDOW => [ $mw => 'withdraw']); $mw->Advertise('text' => $text); $mw->Redirect(1); $mw->destroy; $mw->OnDestroy([ 'DecrementReferenceCount' => $error_window ]);
      My current suspicion is that something could be added or changed in the following line of the Populate subroutine:
      $mw->protocol(WM_DELETE_WINDOW => [ $mw => 'withdraw']);
      but I don't know what.
      we are the music makers and we are the dreamers of dreams - ww