Privatize the full list method
Peter Rabbitson [Sat, 13 Feb 2010 01:53:20 +0000 (01:53 +0000)]
Makefile.PL
lib/DBIx/Class/Optional/Dependencies.pm

index ff0149c..244c332 100644 (file)
@@ -89,7 +89,7 @@ EOW
 
   $reqs->{test_requires} = {
     %{$reqs->{test_requires}},
-    %{DBIx::Class::Optional::Dependencies->all_optional_requirements},
+    %{DBIx::Class::Optional::Dependencies->_all_optional_requirements},
   };
 }
 
index 9cb35e8..810d875 100644 (file)
@@ -128,7 +128,7 @@ my $reqs = {
 };
 
 
-sub all_optional_requirements {
+sub _all_optional_requirements {
   return { map { %{ $reqs->{$_}{req} || {} } } (keys %$reqs) };
 }