Skip to content

Commit

Permalink
Args are in an 'inline' section of postamble
Browse files Browse the repository at this point in the history
  • Loading branch information
ingydotnet committed Nov 19, 2014
1 parent d5e573f commit ec556f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Inline/Module/MakeMaker.pm
Expand Up @@ -23,6 +23,7 @@ our @EXPORT = qw(FixMakefile);

sub default_args {
my ($self, $args) = @_;
$args = $args->{inline} or die;
$args->{module} = $self->{NAME} unless $args->{module};
$args->{module} = [ $args->{module} ] unless ref $args->{module};
$args->{inline} ||= [ map "${_}::Inline", @{$args->{module}} ];
Expand Down

0 comments on commit ec556f0

Please sign in to comment.