How can I find out which modules were originally provided with a specific Perl installation on a machine?
(This is not a duplicate: How do I know if the Perl module is the main or part of the standard installation? ("How do I know if the Perl module is the main or part of the standard installation?") - this is actually a side question)
I am looking for what happened with the installation initially, which modules were provided as part of this installation, what was built-in. NOT what has been installed since.
I would like this to work with any version of Perl.
I want to be able to do this:
- using a script inside the Perl program / command itself on the computer on which the installation is installed. Therefore, for this I will rely on the installation in order to have a record in one form or another regarding the fact that it was originally.
- in the downloaded package before installation. Ask what modules he has.
The reasons I want to do this:
- I want to know which modules I can expect by default when writing software to run on a machine with Perl installation and which modules I need to add that are not standard
- If I save the source file / installer package or know how to get the exact information again on the Internet, then I have a repeated sequential installation of Perl for several machines, taking into account which modules will be present and which modules will not.
- my Perl software will have a well-defined deployment procedure because it is easy to determine what exactly is required for the software.
- Maybe I canโt just upgrade or upgrade the version of Perl due to the policies in place in my organization (this is the way it is, I donโt want it to be discussed on the side). Such a policy may be justified, since there is always a risk of switching to new software that may outweigh the benefits. Therefore, developers should know what they can expect.
The reason I ask this question is that for any version of Perl there is no automated way to determine a common standard installation that determines which modules you can expect when installing by default on your computer - see the question: How to find out is Is the Perl module a core or part of a standard installation? ("How do I know if a Perl module is a core or part of a standard installation?")
You cannot rely on a Perl version to tell you which modules are present or not. Of course, there may be online documentation that tells you. But I need an automated way to do this in the release that I download / install. Even the same version of Perl on different Linux / Unix distributions may be different.
perl deployment perl-module
therobyouknow Jan 18 '10 at 11:11 2010-01-18 11:11
source share