Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am currently managing a very large mod_perl project across several webservers. On occasion, the code on the webservers becomes out of sync, causing the web servers to be running different versions of the code.
Is there an easy way for me to determine a checksum/crc of all the loaded code (we load it all at apache start up via one single module)
Comment on Need checksum of all loaded perl modules
Loop over the keys of %INC to get loaded module names, open the files referred to by their values, and run something like md5sum or Digest::MD5 on the files.