cpanel / perl-compiler

cPanel's custom implementation of B::C
https://cpanel.net
Other
8 stars 3 forks source link

Cannot overwrite Regexp::DESTROY #54

Open atoomic opened 7 years ago

atoomic commented 7 years ago

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