I tried -MO=Deparse and -d options, passing them through system function however these did not provide any deeper understanding from my standpoint.

I maybe need to try passing some -D flags.

I've recently begun using padre with strawberry perl, and I am informed to Recompile perl with -DDEBUGING to use -D switch.

update: -Mdiagnostics=-verbose with debugger steps through some functions in the diagnostics module, such as diagnostics::death_trap and then splain's the error as:

Can't use an undefined value as an ARRAY reference at -e line 2 (#1) (F) A value used as either a hard reference or a symbolic reference must be a defined value. This helps to delurk some insidious errors. Uncaught exception from user code: Can't use an undefined value as an ARRAY reference at -e line 2. at -e line 2

But this doesn't necessarily get to the l-value derivation of the issue. Also the -traceonly option only prints the uncaught exception part without the useful diagnostic provided pre-amble.


In reply to Re: Dereference of undefined value OK under strictures? by Don Coyote
in thread Dereference of undefined value OK under strictures? by AnomalousMonk

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.