I see your point and completely agree with it.

You mean something similar to following log:

D:\Work\PerlCompile\perl@16925mgnu\lib\B>perl -MO=Terse -we "for(;;){} +" LISTOP (0x1be3c00) leave [1] OP (0x1a88ca4) enter COP (0x1be3c28) nextstate BINOP (0x1be3c64) leaveloop LOOP (0x1be3c8c) enterloop LISTOP (0x1be3cc0) lineseq OP (0x1be3d64) stub OP (0x1be3d44) unstack COP (0x1be3d08) nextstate -e syntax OK D:\Work\PerlCompile\perl@16925mgnu\lib\B>perl -MO=Terse -we "for(@$a){ +}" Name "main::a" used only once: possible typo at -e line 1. LISTOP (0x1a812d0) leave [1] OP (0x1a812b0) enter COP (0x1a81318) nextstate BINOP (0x1be3ad8) leaveloop LOOP (0x1be3bd4) enteriter OP (0x1be3c08) null [3] UNOP (0x1a88c78) null [141] OP (0x1a88c58) pushmark UNOP (0x1be3c70) rv2av [2] UNOP (0x1be3c94) rv2sv PADOP (0x1be3d74) gv 1 PADOP (0x1a88ca0) gv 3 UNOP (0x1be3b04) null LOGOP (0x1be3b28) and OP (0x1be3c28) iter LISTOP (0x1be3b50) lineseq OP (0x1be3c50) stub OP (0x1be3bb4) unstack COP (0x1be3b78) nextstate -e syntax OK
Id that's it, it succeeds even without -DDEBUGGING for me.

In reply to Re: Re: Re: Re: Re: (jeffa) 3Re: Is for(@$array_ref) construct optimized? YES! by Weasel
in thread Is for(@$array_ref) construct optimized? YES! by Weasel

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.