in reply to return of hash-assigment in list context (bug?)
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: return of hash-assigment in list context (bug?)
by Anonymous Monk on Jan 02, 2013 at 21:21 UTC | |
by LanX (Saint) on Jan 02, 2013 at 22:06 UTC |