I had two objections. First, I was mapping my concept blockless of postfix conditional onto postfix loops. Postfix loops' implementation is to create a block context. This was contrary to my experience with conditionals and I had to peek at some perlguts to realize this. My other concern was the debugging tools built into perl tell me that the next() was a static "goto" into a nonsensical location and was equivalent to not executing the next at all. It turns out the static "goto" information built into next is not used - it does its "goto" behind the scenes and in a place the debugging tools know nothing of. This exposes two perl bugs. One in the core is to populate this nonsensical op_next data and the other is in B::Concise where it reports the nonsense data.

Here's a simpler implementation to show off the bug.

push @out, $_ || next for @in;

⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊


In reply to Re: next in a post-fixed for by diotalevi
in thread next in a post-fixed for by Codon

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.