Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^4: Perl/Tk and exit(0) [Tk::exit]

by Anonymous Monk
on Apr 04, 2020 at 04:41 UTC ( [id://11115021]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Perl/Tk and exit(0) [Tk::exit]
in thread Perl/Tk and exit(0)

As I understand, the two exit procedures only matter if you fork.

This is on windows, clean exit

perl -e"use Tk; $mw=tkinit; $mw->Button(-command=>sub{ Tk::exit })->pa +ck; MainLoop; "

Dirty exit

perl -e"use Tk; $mw=tkinit; $mw->Button(-command=>sub{ CORE::exit })-> +pack; MainLoop; " perl.exe has encountered a problem and needs to close. Faulting application perl.exe, version 5.20.3.3, faulting module tk.xs +.dll, version 8.4.2.5, fault address 0x00044b1e.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11115021]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-19 19:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found