diff options
author | Robin Barker <robin@Spade-Ubuntu.(none)> | 2010-04-15 21:14:23 +0100 |
---|---|---|
committer | Steffen Mueller <smueller@cpan.org> | 2010-04-18 15:41:54 +0200 |
commit | 460fdedb7c436afaa24f04e2b7b35efbf4418573 (patch) | |
tree | ac039fc23af04c33d575db1a8bd01cfad9163d46 /cpan/ExtUtils-MakeMaker | |
parent | 8165faea6ee20f11c287f0f531d49cc63ea9e6f3 (diff) | |
download | perl-460fdedb7c436afaa24f04e2b7b35efbf4418573.tar.gz |
Make abstract_from more robust
A few distributions in the perl source failure for abstract_from
Rather than fix the individual files I have made the parsing process
more robust.
Diffstat (limited to 'cpan/ExtUtils-MakeMaker')
-rw-r--r-- | cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm index 239d6df826..564d32156d 100644 --- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm +++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm @@ -2593,7 +2593,7 @@ sub parse_abstract { $inpod = /^=(?!cut)/ ? 1 : /^=cut/ ? 0 : $inpod; next if !$inpod; chop; - next unless /^($package\s-\s)(.*)/; + next unless /^($package(?:\.pm)?\s+\-+\s+)(.*)/; $result = $2; last; } |