From: David Golden Date: Fri, 11 Oct 2013 16:09:38 +0000 (-0400) Subject: make VERSION assignment regexp ignore fat comma X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=629a09300f8987a1f963522d25298a3f2af49a16;p=p5sagit%2FModule-Metadata.git make VERSION assignment regexp ignore fat comma --- diff --git a/lib/Module/Metadata.pm b/lib/Module/Metadata.pm index e352d31..4aa75af 100644 --- 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 {