in reply to Re^2: Core Modules
in thread Core Modules

I think you should check using the version of Perl that's running.

if ( exists $Module::CoreList::version{$]}{'Foo::Bar'} ) { print "Foo::Bar is core in this version of Perl.\n"; }

This way you don't false positive on something that's core in a version other than the one you have. I haven't used Module::CoreList, however, so I'm not sure.

Replies are listed 'Best First'.
Re^4: Core Modules
by Herkum (Parson) on Jun 20, 2008 at 20:04 UTC

    You pointed me at the right thing and I am kinda brain dead today and was doing some stupid things.

    The way I understand it, it tells you specifically when a module is added in each version, the first_release() tells you what version that module was added into core. As long as I get a number back from it, I know it is a part of Core.

    That was huge help and I did not know about that module, so overall it has been a good day! :)