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
Anonymous subroutines which are not closures are NOT deterministically destroyed. #17149
Comments
From @demerphqThe following two one liners should output the same thing, in This potentially could screw up code that is trying to do "ScopeExit" $ perl -le'sub DestroyNow::DESTROY { print "destroying $_[0] in destroying DestroyNow=CODE(0x8bc6f8) in DESTRUCT $ perl -le'sub DestroyNow::DESTROY { print "destroying $_[0] in The tested Perl was 5.18.4, but I have replicated this behavior on This is perl 5, version 18, subversion 4 (v5.18.4) built for x86_64-linux Copyright 1987-2013, Larry Wall Perl may be copied only under the terms of either the Artistic License or the Complete documentation for Perl, including FAQ lists, should be found on -- |
From @tonycozOn Sun, 08 Sep 2019 22:44:58 -0700, demerphq wrote:
Didn't you already report this in https://rt-archive.perl.org/perl5/Ticket/Display.html?id=134313 ? Tony |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#134424 (status was 'open')
Searchable as RT134424$
The text was updated successfully, but these errors were encountered: