Tassilo von Parseval wrote:
> Hi,
> 
> the attached proposed patch against blead hopefully fixes a problem when
> a lvalue-sub has an element of a tied hash or array as its last
> statement. It should be a solution for buglet #30582 "Conflicts between
> the :shared attribute and lvalue subroutines" which boiled down to
> 
> $ perl -MTie::Hash -we'tie %x,"Tie::StdHash"; sub foo:lvalue {$x{foo}} foo=1'
> Can't return a temporary from lvalue subroutine at -e line 1.
> 
> The patch also contains a couple of new tests in t/op/sub_lval.t for
> these constructs.

Thanks, applied as #25194.

Reply via email to