Skip to content
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

Cannot overwrite Regexp::DESTROY #54

Open
atoomic opened this issue Jul 17, 2017 · 0 comments
Open

Cannot overwrite Regexp::DESTROY #54

atoomic opened this issue Jul 17, 2017 · 0 comments

Comments

@atoomic
Copy link
Collaborator

atoomic commented Jul 17, 2017

when we try to provide our own Regexp::DESTROY, it's replaced by the CORE one

sub Regexp::DESTROY() { print qq/ok\n/ } my $rx = qr//; undef($rx)

This is not a new bug, was already existing in bc524

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants