diff options
Diffstat (limited to 'cpan/Module-Load/lib/Module/Load.pm')
-rw-r--r-- | cpan/Module-Load/lib/Module/Load.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpan/Module-Load/lib/Module/Load.pm b/cpan/Module-Load/lib/Module/Load.pm index bc788b5324..bcab45435a 100644 --- a/cpan/Module-Load/lib/Module/Load.pm +++ b/cpan/Module-Load/lib/Module/Load.pm @@ -1,8 +1,9 @@ package Module::Load; -$VERSION = '0.28'; +$VERSION = '0.30'; use strict; +use warnings; use File::Spec (); sub import { @@ -17,7 +18,7 @@ sub import { return ); - @$h{@_} = (); + map { $h->{$_} = () if defined $_ } @_; (exists $h->{none} or exists $h->{''}) and shift, last; |