Happens with 5.8.9 and 5.12.2

With the help of perldeltas and the keywords: return, pushmark , padhv, bind, assign, pad, ex-list, rv2hv, rv2av

Maybe this fixed it perl5140delta#given return values / http://search.cpan.org/dist/perl-5.14.0/pod/perlsyn.pod#Return_value

Maybe related #77498: Assignment ignores magick when the RHS holds a glob

not Maybe related perl5138delta#sv_compile_2op() is now deprecated

I say maybe, cause I didn't check the source to see if it was involved, or I couldn't track down what changed

update: aha , if checking perldeltas doesn't yield results, free probably will :) http://perl5.git.perl.org/perl.git?a=search&h=HEAD&st=free&s=aassign

Better fix for RT #2140 (list assignment with duplicated temporaries)

#2140: assigning array slice of function call to hash slice

That looks to be it, but you wouldn't know it from the bug report


In reply to Re: return of hash-assigment in list context (bug?) by Anonymous Monk
in thread return of hash-assigment in list context (bug?) by LanX

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.