Skip to content
Browse files

* Mark the _autoload function as private so Pod::Coverage tests still…

… pass.
  • Loading branch information...
1 parent dd26be5 commit 5629854f1cbffd7b32edacb134db589c743e250f @audreyt committed May 29, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/selfvars/autoload.pm
View
4 lib/selfvars/autoload.pm
@@ -6,12 +6,12 @@ use selfvars ();
sub import {
no strict 'refs';
my $pkg = caller;
- *{"$pkg\::AUTOLOAD"} = \&autoload;
+ *{"$pkg\::AUTOLOAD"} = \&_autoload;
shift; unshift @_, 'selfvars';
goto &selfvars::import;
}
-sub autoload {
+sub _autoload {
no strict 'vars';
my $method = $AUTOLOAD;

0 comments on commit 5629854

Please sign in to comment.
Something went wrong with that request. Please try again.