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

Maybe look for "OnDestroy" , all that "privateData" and "DecrementReferenceCount" stuff

Replies are listed 'Best First'.
Re^4: Tk::Stderr flush
by honyok (Sexton) on Sep 17, 2012 at 19:16 UTC
    Still trying, still failing ...
    we are the music makers and we are the dreamers of dreams - ww

      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