I built a patched version of TK to work around a bad pointer issue in the latest CPAN released module.
(I got the fix from one of the pull requests on gitHub)
I store that .tgz file out on my website at https://securedata.cadEnhance.com/build_assets/Tk-Module-fixed/Tk-804.035_999-cboleary.tar.gz
When I am setting up perl on a vm, I run a script to install all the modules I need
the script issues this command:
cpanm https://securedata.cadEnhance.com/build_assets/Tk-Module-fixed/Tk-804.035_999-cboleary.tar.gz

The problem I have is that the script always re-installs this module (and the Tk module takes a good 15-20 minutes to install)
while it skips all the other modules since it knows they are up-to-date
Is there a way to debug why cpanm thinks it needs to re-install the up-to-date module ? hopefully without it going through the whole install process?
Or is there some option I'm missing to to tell it not to re-install?
I can't figure it out from the command line options I think the default option is not to re-install
or will cpanm always re-install if I am pointing to a remote tgz file like this?


In reply to Can I get cpanm to skip re-installation of a module when pointing directly to a remote .tgz file? by boleary

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.