to generate a list of installed modules after upgrading 5.6.0 to 5.6.1. I had lifted the snippet of the perldoc code for this module and was using it to verify installed modules/versions. Last night after getting CPAN running (thanks to my network guys poking holes in the router access lists). I upgraded my core perl install from 5.6.0 to 5.6.1. I made sure to tell config to include my previous libs in @INC, and I can access them fine. However, my modlist script only finds the ones that were built with the version of perl I run it with. If I change the shebang to point at 5.6.0 all of my previously installed modules are listed (but none of the new ones). If I use 5.6.1, only the modules installed after it are listed.

I know this has to do with the .packlists, and that there is another Extutils package that can manipulate them, but I was just wondering if anyone could explain, why Extutils::Installed can't follow @INC and find all of the .packlists? Do I need to hack my .packlists to make this list tool work again?


In reply to Problem using Extutils::Installed... by rah

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.