X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FModule-Metadata.git;a=blobdiff_plain;f=lib%2FModule%2FMetadata.pm;fp=lib%2FModule%2FMetadata.pm;h=4aa75af5f94d5f8105b81128e2eae67528f82e80;hp=e352d31620853c5f6d2b164645d6740143e816c6;hb=629a09300f8987a1f963522d25298a3f2af49a16;hpb=613b7249cbce28ad0b34271e09a95b983ec850ca 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 {