use constant _PERL_LT_5_8_4 => ($] < 5.008004) ? 1 : 0;
-our $VERSION = '1.004002'; # 1.4.2
+our $VERSION = '1.004004'; # 1.4.4
sub VERSION {
for ($_[1]) {
shift->SUPER::VERSION(@_);
}
-my $extra_load_states;
+our $extra_load_states;
our $Smells_Like_VCS = (-e '.git' || -e '.svn'
|| (-e '../../dist.ini' && (-e '../../.git' || -e '../../.svn')));
$extra_load_states ||= do {
my (%rv, @failed);
- for my $mod (qw(indirect multidimensional bareword::filehandles)) {
+ foreach my $mod (qw(indirect multidimensional bareword::filehandles)) {
eval "require $mod; \$rv{'$mod'} = 1;" or do {
push @failed, $mod;
# courtesy of the 5.8 require bug
- $mod =~ s|::|/|g;
- delete $INC{"$mod.pm"};
+ # (we do a copy because 5.16.2 at least uses the same read-only
+ # scalars for the qw() list and it doesn't seem worth a $^V check)
+
+ (my $file = $mod) =~ s|::|/|g;
+ delete $INC{"${file}.pm"};
};
}
=head1 CONTRIBUTORS
-None required yet. Maybe this module is perfect (hahahahaha ...).
+Karen Etheridge (cpan:ETHER) <ether@cpan.org>
+
+Mithaldu - Christian Walde (cpan:MITHALDU) <walde.christian@gmail.com>
=head1 COPYRIGHT