Skip to content

Commit

Permalink
clean up inc::latest guts
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@13679 50811bd7-b8ce-0310-adc1-d9db26280581
  • Loading branch information
xdg committed Dec 17, 2009
1 parent 6e10bb4 commit d9611b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/inc/latest.pm
Expand Up @@ -21,9 +21,9 @@ sub import {
my ($package, $mod, @args) = @_;
return unless(defined $mod);

my $inc_path = 'inc/latest.pm';
my $private_path = 'inc/latest/private.pm';
if(-e $inc_path) {
if(-e $private_path) {
# user mode - delegate work to bundled private module
require $private_path;
splice( @_, 0, 1, 'inc::latest::private');
goto \&inc::latest::private::import;
Expand Down

0 comments on commit d9611b4

Please sign in to comment.