Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Syntax check of the program (perl 5.16.3 64-bit (threaded or otherwise) & Tk 804.031 on CentOS 6 64-bit) causes core dump (but not when it is just run as in perl file) ...
use Tk; # Remove "BEGIN" and get no core dump. BEGIN { our $MW = MainWindow->new(); } __END__ test-tk.pl syntax OK . (1): 0 0x2ba31f0 NV f=00000002 undef(1) SV = IV(0x2ba31e0) at 0x2ba31f0 REFCNT = 1 FLAGS = () IV = 0
There is no problem with combinations of ...
- perl 5.8.8, Tk 804.0275;
- perl 5.10.0, Tk 804.028; and
- perl 5.14.2, Tk 804.03
... FWIW. Has anybody else seen the problem?
|
---|
Back to
Seekers of Perl Wisdom