in reply to Re: Converting a coderef back to code
in thread Converting a coderef back to code
I just went looking for how Data::Dumper does this, and it seems the core solution is:
use B::Deparse; ... my $string = B::Deparse->new->coderef2text($coderef);
|
---|