New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in-place sort retains tiedness #16305
Comments
From zefram@fysh.orgCreated by zefram@fysh.orgSuppose I have an array of which an element is tied. List assignment $ perl -lwe 'package T { sub TIESCALAR { bless({}, $_[0]) } sub FETCH { "b" } } @a = qw(a b c); tie $a[1], "T"; print tied($a[1]) // "undef"; @a = sort @a; print tied($a[1]) // "undef"; @a = ((), sort @a); print tied($a[1]) // "undef"' Obviously this is yet another fault of the in-place sort optimisation, Perl Info
|
Migrated from rt.perl.org#132586 (status was 'new')
Searchable as RT132586$
The text was updated successfully, but these errors were encountered: