This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Apply the same policy for the value returned by push() and unshift()
authorVincent Pit <perl@profvince.com>
Sun, 4 Oct 2009 13:02:56 +0000 (15:02 +0200)
committerVincent Pit <perl@profvince.com>
Sun, 4 Oct 2009 13:02:56 +0000 (15:02 +0200)
commit6eeabd23f5b07b262222f010c01eab5c2175cf54
treeaac40e9c6fe792924a4a4394cdf5a1638feda6d6
parentb9fb583619490a0ded37e01402169cea64f6c91e
Apply the same policy for the value returned by push() and unshift()

That is, only push the len when the static context is not void, and honour
len magic.
pp.c