I need a way to get at the code of a subroutine. Not to execute it. Rather, to independently generate the checksum of the subroutine code. It thought it might be easy using a subs' code ref, but a coderef is only good for executing code, not for seeing the code itself. The end goal is to check each of the subs to tell if any subs have been tampered with by a hacker, independently of an overall file checksum.
Any ideas?
Thanks
In reply to checksum of subroutine by mnooning
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |