package autouse;
#use strict; # debugging only
-use 5.003_90; # ->can, for my $var
+use 5.006; # use warnings
-$autouse::VERSION = '1.05';
+$autouse::VERSION = '1.06';
$autouse::DEBUG ||= 0;
require $pm;
vet_import $module;
}
- no warnings 'redefine';
+ no warnings qw(redefine prototype);
*$closure_import_func = \&{"${module}::$closure_func"};
print "autousing $module; "
."imported $closure_func as $closure_import_func\n"