From: Peter Rabbitson Date: Sat, 13 Feb 2010 01:53:20 +0000 (+0000) Subject: Privatize the full list method X-Git-Tag: v0.08119~14^2~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0d4740b34575fedb937a31d0189187f126f663f0;p=dbsrgits%2FDBIx-Class.git Privatize the full list method --- diff --git a/Makefile.PL b/Makefile.PL index ff0149c..244c332 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -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}, }; } diff --git a/lib/DBIx/Class/Optional/Dependencies.pm b/lib/DBIx/Class/Optional/Dependencies.pm index 9cb35e8..810d875 100644 --- a/lib/DBIx/Class/Optional/Dependencies.pm +++ b/lib/DBIx/Class/Optional/Dependencies.pm @@ -128,7 +128,7 @@ my $reqs = { }; -sub all_optional_requirements { +sub _all_optional_requirements { return { map { %{ $reqs->{$_}{req} || {} } } (keys %$reqs) }; }