Hi Monks-
I believe I'm seeing an issue with ActiveState Perl 5.20 (for MacOSX) that causes "perl -c" to crash. The same script seems to work fine with an older ActiveState Perl (5.14) I have from a while ago.
Is this a Perl thing, or Tk thing, or POE thing (or combination)?
Can others verify they see the same thing?
I don't know how to debug this from here.
Any help is greatly appreciated!
Thanks
-Craig
Simple Perl Script (mactst.pl)
use warnings;
use strict;
use Tk;
use POE;
if(! defined($poe_main_window)) { warn "\$poe_main_window not defined"
+ };
Working Command
$ /usr/local/ActivePerl-5.14/bin/perl -c mactst.pl
mactst.pl syntax OK
Free non-Callback 1011f4aa0 RV=0 during global destruction.
$
Failing Command
$ /usr/local/ActivePerl-5.20/bin/perl -c mactst.pl
mactst.pl syntax OK
. (1):
0 0x10170c998 IV f=00000001 undef(1)
SV = IV(0x10170c988) at 0x10170c998
REFCNT = 1
FLAGS = ()
IV = 0
Abort
$
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.