Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Problem using Extutils::Installed...

by rah (Monk)
on Feb 21, 2002 at 02:36 UTC ( [id://146686]=perlquestion: print w/replies, xml ) Need Help??

rah has asked for the wisdom of the Perl Monks concerning the following question:

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?

Replies are listed 'Best First'.
Re: Problem using Extutils::Installed...
by chromatic (Archbishop) on Feb 21, 2002 at 03:06 UTC

    ExtUtils::Installed cares more about Config.pm than @INC.

    As binary compatibility is not guaranteed between versions, Perl doesn't really allow for modules to be shared among different installations. You'll have to hack something.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://146686]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-12-07 16:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which IDE have you been most impressed by?













    Results (50 votes). Check out past polls.