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 |