This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f7b20b2
)
ExtUtils::MM_Unix should ignore comments when searching for
author
Abhijit Menon-Sen
<ams@wiw.org>
Sat, 13 Oct 2001 18:05:36 +0000
(18:05 +0000)
committer
Abhijit Menon-Sen
<ams@wiw.org>
Sat, 13 Oct 2001 18:05:36 +0000
(18:05 +0000)
$VERSION.
p4raw-id: //depot/perl@12426
lib/ExtUtils/MM_Unix.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/ExtUtils/MM_Unix.pm
b/lib/ExtUtils/MM_Unix.pm
index
9f09aac
..
223310a
100644
(file)
--- a/
lib/ExtUtils/MM_Unix.pm
+++ b/
lib/ExtUtils/MM_Unix.pm
@@
-2783,7
+2783,7
@@
sub parse_version {
my $inpod = 0;
while (<FH>) {
$inpod = /^=(?!cut)/ ? 1 : /^=cut/ ? 0 : $inpod;
- next if $inpod;
+ next if $inpod
|| /^\s*#/
;
chop;
# next unless /\$(([\w\:\']*)\bVERSION)\b.*\=/;
next unless /([\$*])(([\w\:\']*)\bVERSION)\b.*\=/;