Skip to content

Commit

Permalink
Still not working.
Browse files Browse the repository at this point in the history
  • Loading branch information
ingydotnet committed Dec 17, 2014
1 parent cd5fce6 commit 33363ac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/Module/Build/InlineModule.pm
Expand Up @@ -11,7 +11,10 @@ use XXX;
sub ACTION_code {
my ($self) = @_;
my $module = $self->{properties}{inline}{module};
eval "require $module; 1" or die @_;
print "$module\n";
my @inc = @INC;
local @INC = ('lib', @inc);
eval "require $module; 1" or die $@;
}

sub ACTION_distdir {
Expand Down

0 comments on commit 33363ac

Please sign in to comment.