This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
$#array should be accepted as a lvalue sub return value.
authorRafael Garcia-Suarez <rgs@consttype.org>
Wed, 28 Oct 2009 09:44:31 +0000 (10:44 +0100)
committerRafael Garcia-Suarez <rgs@consttype.org>
Wed, 28 Oct 2009 09:44:31 +0000 (10:44 +0100)
commit28c5b5bcd7f52e6b2219508a1066cd0ccc8dd19a
tree47b207d9b199dfb965aefa23fa423b49e213788b
parent02d85cc37a4acecafdc2f0b45640b03cd1f4ac71
$#array should be accepted as a lvalue sub return value.

The OPpMAYBE_LVSUB flag wasn't set for OP_AV2ARYLEN, but the
new implementation of pp_av2arylen introduced by the previous
patch was relying on it. So, now, set this flag. Also add tests for
STORESIZE.
op.c
t/op/tiearray.t