The documentation is a little unclear so tell me if I am reading it correctly. It looks like it has an entry for every module that was included with Perl by version, correct? So if I do,
use Module::CoreList;
if (not Module::CoreList->first_release_by_date('Foo::Bar')) {
print "Foo::bar is not a part of core\n";
}
That should return what I want?
Update: Adding the code to my program, I still had these modules show up that I am sure are a part of Core.
- strict
- vars
- constant
- Exporter
- overload
OK, they are in the core list I just have to change my check, I believe to find them, because they have no version number. |