make VERSION assignment regexp ignore fat comma
[p5sagit/Module-Metadata.git] / lib / Module / Metadata.pm
index e352d31..4aa75af 100644 (file)
@@ -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 {