Skip to content

Commit

Permalink
Don't require a .modulebuildrc file
Browse files Browse the repository at this point in the history
Make Library::Build deal with the absence of a .modulebuildrc file
  • Loading branch information
Leont committed May 2, 2011
1 parent cb8c148 commit 157b706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/Library/Build/PL.pm
Expand Up @@ -24,7 +24,7 @@ sub new {
my ($class, @args) = @_; my ($class, @args) = @_;
my %args = ( my %args = (
argv => \@ARGV, argv => \@ARGV,
config => [ map { @{$_} } @{Library::Build::Config::read_config('Build_PL')}{'*', 'Build_PL'} ], config => [ map { @{$_} } grep { $_ } @{Library::Build::Config::read_config('Build_PL')}{'*', 'Build_PL'} ],
@args @args
); );
return bless \%args, $class; return bless \%args, $class;
Expand Down

0 comments on commit 157b706

Please sign in to comment.