Skip to content

Commit

Permalink
Don't let newlines break Class::Load in authordeps. Refs RT #76112
Browse files Browse the repository at this point in the history
  • Loading branch information
gphat committed Mar 28, 2012
1 parent e8e25c1 commit 8222448
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Dist/Zilla/App/Command/authordeps.pm
Expand Up @@ -97,7 +97,9 @@ sub extract_author_deps {
$in_filter = 0, next if /^\[/ and ! /^\[\s*\@Filter/;
$in_filter = 1;

next unless /\A-bundle\s*=\s*([^;]+)/;
next unless /\A-bundle\s*=\s*([^;\s]+)/;
my $pname = $1;
chomp($pname);
$reqs->add_minimum(Dist::Zilla::Util->expand_config_package_name($1) => 0)
}

Expand Down

0 comments on commit 8222448

Please sign in to comment.