projects
/
p5sagit/Module-Metadata.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
613b724
)
make VERSION assignment regexp ignore fat comma
David Golden [Fri, 11 Oct 2013 16:09:38 +0000 (12:09 -0400)]
lib/Module/Metadata.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Module/Metadata.pm
b/lib/Module/Metadata.pm
index
e352d31
..
4aa75af
100644
(file)
--- a/
lib/Module/Metadata.pm
+++ b/
lib/Module/Metadata.pm
@@
-87,7
+87,7
@@
my $VERS_REGEXP = qr{ # match a VERSION definition
$VARNAME_REGEXP # without parens
)
\s*
- =[^=~] # = but not ==, nor =~
+ =[^=~>] # = but not ==, nor =~, nor =>
}x;
sub new_from_file {