Permalink
Browse files

Don't require a .modulebuildrc file

Make Library::Build deal with the absence of a .modulebuildrc file
  • Loading branch information...
1 parent cb8c148 commit 157b7065b836bdb5ccfd0a935fca12493d850336 @Leont committed May 2, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 inc/Library/Build/PL.pm
View
2 inc/Library/Build/PL.pm
@@ -24,7 +24,7 @@ sub new {
my ($class, @args) = @_;
my %args = (
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
);
return bless \%args, $class;

0 comments on commit 157b706

Please sign in to comment.