Howdy all,

While messing about with signals recently I noticed this:

C:\Src>perl -MDDS -e "Dump \%SIG" $HASH1 = { __DIE__ => undef, __WARN__ => undef, ABRT => undef, ALRM => undef, BREAK => undef, CHLD => undef, CLD => undef, CONT => undef, FPE => undef, HUP => undef, ILL => undef, INT => undef, KILL => undef, NUM05 => undef, NUM06 => undef, NUM07 => undef, NUM10 => undef, NUM12 => undef, NUM16 => undef, NUM17 => undef, NUM18 => undef, NUM19 => undef, NUM24 => undef, PIPE => undef, QUIT => undef, SEGV => undef, STOP => undef, TERM => undef }; C:\Src>perl -MData::Dumper -e "print Dumper \%SIG" $VAR1 = { 'ABRT' => undef, 'BREAK' => undef, 'HUP' => undef, 'NUM19' => undef, 'FPE' => undef, 'CLD' => undef, 'NUM12' => undef, 'NUM16' => undef, 'NUM18' => undef, 'NUM17' => undef, 'STOP' => undef, 'NUM24' => undef, 'NUM10' => undef, 'INT' => undef, 'SEGV' => undef, 'QUIT' => undef, 'KILL' => undef, 'PIPE' => undef, 'NUM05' => undef, 'CONT' => undef, '__WARN__' => undef, 'NUM06' => undef, 'NUM07' => undef, 'ILL' => undef, 'TERM' => undef, 'ALRM' => undef, 'CHLD' => undef }; C:\Src>

In the Data::Dumper output, the entry in the %SIG hash for __DIE__ is missing, but when using Data::Dump::Streamer it appears. I suspect DDS is correct.

1. Is DDS indeed correct? 2. If so, why is __DIE__ missing in the latter? This is mainly curiosity on my part.

For info, This is perl, v5.10.0 built for MSWin32-x86-multi-thread Binary build 1004 (287188) provided by ActiveState

Update: and Data::Dump::Streamer $VERSION='2.09' $XS_VERSION='2.07', Data::Dumper $VERSION=2.121_14

Thanks for any insight! :)


undef $lunches{free}

In reply to Where did __DIE__ go? (Data::Dumper bug?) by missingthepoint

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.