http://www.perlmonks.org?node_id=1014988

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

Hi all you venerable people ,

I've found many postings regarding the identification of the determination of installed modules on a system (using perlmodlib et al), but I can't find anything that seems to address the problem I have whereby I have been tasked with establishing the as-installed core perl configuration (a complete list of the core modules and their versions) for a vanilla version of an old perl (5.10.1) running on a remote, inaccessible machine but I don't have sufficient access to any of the available machines to be able to download and build the source.

Would anyone know if there are such listings (of core modules and versions) available on the interweb or alternatively, have any ideas as to how I might achieve this singular goal ?

TIA & best rgds to all ,

A user level that continues to overstate my experience :-))

Replies are listed 'Best First'.
Re: perlmodlib - with a difference ?
by moritz (Cardinal) on Jan 23, 2013 at 19:11 UTC
    $ corelist -v 5.010 The following modules were in perl 5.010 CORE AnyDBM_File 1.00 Archive::Extract 0.24 Archive::Tar 1.38 Archive::Tar::Constant 0.02 [...]

    corelist is part of Module::CoreList, which itself is in core since Perl 5.8.9.

    Update: you'll actually want to run corelist -v 5.10.1, because the list of core modules changed quite a bit between 5.10.0 and 5.10.1.

      Awesome, thank you, that's a proper life (and posssibly job:-) saver.

      I knew about corelist, but didn't realise that it could be used with an alternate version, I was under the impression that it only worked for the version under which it is running .... if that makes any sense.

      A user level that continues to overstate my experience :-))
Re: perlmodlib - with a difference ?
by toolic (Bishop) on Jan 23, 2013 at 19:09 UTC
Re: perlmodlib - with a difference ?
by marto (Cardinal) on Jan 23, 2013 at 19:15 UTC