How can I check if a Perl module is part of the core - i.e. it is part of the standard installation?
I'm looking for:
- a command-line command:
- a Perl subroutine/function to check within code
Thanks in advance.
Update
Perhaps I should re-write the question to be: "How can I tell what modules were originally provided with the specific Perl installation on a machine?" (update: Actually I have now: http://stackoverflow.com/questions/2085516/how-can-i-tell-what-modules-were-originally-provided-with-the-specific-perl-insta )
Given that there now appears to not to be an overall Perl standard installation, at least the answer to this new question will tell me what I originally had in the installation when it was first installed.
With that knowledge and if I keep the original installater image/package OR know how to get the exact thing again online, then I have a repeatable Perl installation for several machines with the knowledge of what modules will be present and what modules will not.
To clarify further: I am looking at what came with the installation originally, what modules were provided as part of that installation, what was built-in. NOT what has been installed since then.
And I want to be able to do this on the machine that has the installation. So for this I would be relying upon the installation to have a record in some form as to what it has originally.
Update 2
Asked spin-off question: http://stackoverflow.com/questions/2085516/how-can-i-tell-what-modules-were-originally-provided-with-the-specific-perl-insta ( How can I tell what modules were originally provided with the specific Perl installation on a machine? )