projects
/
p5sagit/Module-Metadata.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
make VERSION assignment regexp ignore fat comma
[p5sagit/Module-Metadata.git]
/
lib
/
Module
/
Metadata.pm
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 {