(This is relevant: on fixing core modules in place ) Sometimes people change core modules. I've seen this happen too. The core modules could change for different reasons also- this would be a great place to do funny stuff for some malicious persons. Potentially inhouse? (Too paranoid?)

So.. how about we make a module, that checks the integrity of modules on a box, against a cpan repository? Checking.. what? md5sums?

Does the cli cpan tool check integrity of installed modules? No- right? Just the version numbers.. ?

Does anyone see any use to have a http query(able) repository of md5sums of module versions?

Could have a config file, that you tell it what to do if anomalies are found, halt perl, halt system, re-install module.. who knows..

Is there something of this sort already out there ? :) Is this really something that should be in the cpan cli tool instead? - or.. something that really should be done entirely by someone else, like brian d foy? Heehee.


In reply to Any use for a program or module that checks integrity of core modules? by leocharre

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.