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

Hi Monks, how can I find out if a module is in the perl core (and for which version of perl)? I know I can look at the module list on CPAN, but is there an easier way that lets me do it from inside a script? Thank you.

Replies are listed 'Best First'.
Re: Modules in core
by marto (Cardinal) on May 19, 2008 at 11:14 UTC
Re: Modules in core
by Fletch (Bishop) on May 19, 2008 at 12:25 UTC

    And just for completeness sake: perlmodlib lists the modules that shiped with a particular installation (albeit not in as easily accessible a manner as Module::CoreList).

    The cake is a lie.
    The cake is a lie.
    The cake is a lie.

      And for extra, tangential completeness: B::Keywords. Mostly listing it because I was looking for it recently and only found it accidentally a few days ago when upgrading PPI. (tye did point me to a nice resource which contained keywords in the CB but the file/link is on my other box so I don't have it to add right now).

Re: Modules in core
by Corion (Patriarch) on May 19, 2008 at 11:17 UTC