... but a coderef is only good for executing code, not for seeing the code itself.
It's enough, with the core module B::Deparse:
use B::Deparse; my $deparse = B::Deparse->new( '-p', '-sC' ); my $source = $deparse->coderef2text( \&some_func );
In reply to Re: checksum of subroutine
by chromatic
in thread checksum of subroutine
by mnooning
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |