[DELTA]
0.30 Sat Jan 25 13:26:51 GMT 2014
* Fix 'uninitialized' warnings during testing
* Added done_testing() to tests
},
'Module::Load' => {
- 'DISTRIBUTION' => 'BINGOS/Module-Load-0.28.tar.gz',
+ 'DISTRIBUTION' => 'BINGOS/Module-Load-0.30.tar.gz',
'FILES' => q[cpan/Module-Load],
},
package Module::Load;
-$VERSION = '0.28';
+$VERSION = '0.30';
use strict;
+use warnings;
use File::Spec ();
sub import {
return
);
- @$h{@_} = ();
+ map { $h->{$_} = () if defined $_ } @_;
(exists $h->{none} or exists $h->{''})
and shift, last;
use Test::More;
use strict;
+use warnings;
#
# Module::Load; test new features:
sub _reset{
undef %{Data::Dumper::};
undef %{XYZ::Module::};
+ no warnings q[uninitialized];
eval "undef %{$afx$cnt::}";
delete $INC{'Data/Dumper.pm'};
}
load_remote("XYZ::Module","______","Data::Dumper");
XYZ::Module::Dumper($WORLD);');
cant_locate();
+
+ done_testing();
};
subtest 'autoload_remote' => sub{