Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
In-place sort does not kill weak refs #16306
Oops. I sent this to perlbug-follow the first time.
$ perl5.27.7 -le 'use Scalar::Util "weaken"; weaken ($a = \$_); @_ = sort @_; print $a; print \$_'
The first line of output should be blank ($a should be undefined.)
$ perl5.27.7 -V
Characteristics of this binary (from libperl):
Father Chrysostomos wrote:
After coming up with blessedness and then tiedness, I was wondering what
On Fri, Dec 15, 2017 at 10:41:31PM +0000, Zefram wrote:
I think that by default, in-place sort should make a copy of every SV