in reply to checksum of subroutine
Why would a finer grained inspection of the subroutines be any more suspect than any other part of the code? I would think, once the current state of the file has been blessed, that an overall checksum of the file would be more than sufficient to show that ANY changes have been made when NONE were expected. Once you have a corrupted file identified then you can use something like diff to see what changed.
Otherwise, there happens to be this dynamic language called Perl is that very good at parsing text. ;) Anything from a simple regex to Parse::RecDescent can be used to extract the bits of text that make up a Perl subroutine.
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: checksum of subroutine
by mnooning (Beadle) on Aug 10, 2012 at 18:53 UTC | |
|
Re^2: checksum of subroutine
by mnooning (Beadle) on Aug 10, 2012 at 18:47 UTC | |
by CountZero (Bishop) on Aug 10, 2012 at 19:00 UTC | |
by AnomalousMonk (Archbishop) on Aug 10, 2012 at 18:56 UTC | |
by tobyink (Canon) on Aug 10, 2012 at 21:24 UTC | |
by mnooning (Beadle) on Aug 13, 2012 at 16:53 UTC |