'Module::Loaded' =>
{
'MAINTAINER' => 'kane',
- 'DISTRIBUTION' => 'KANE/Module-Loaded-0.02.tar.gz',
+ 'DISTRIBUTION' => 'KANE/Module-Loaded-0.06.tar.gz',
'FILES' => q[ext/Module-Loaded],
'CPAN' => 1,
'UPSTREAM' => 'cpan',
BEGIN { use base 'Exporter';
use vars qw[@EXPORT $VERSION];
- $VERSION = '0.02';
+ $VERSION = '0.06';
@EXPORT = qw[mark_as_loaded mark_as_unloaded is_loaded];
}
use strict;
+use less;
use Test::More 'no_plan';
my $Class = 'Module::Loaded';
my @Funcs = qw[mark_as_loaded mark_as_unloaded is_loaded];
my $Mod = 'Foo::Bar'.$$;
-my $Strict = 'less';
-use less;
+my $Strict = $ENV{'PERL_CORE'} ? 'less' : 'strict';
### load the thing
{ use_ok( $Class );