This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re-initialise PL_curcop to &PL_compiling before destroying the optree.