Only call _parse_version_expression() for lines that contain VERSION
authorVincent Pit <perl@profvince.com>
Sat, 28 Jul 2012 17:22:11 +0000 (19:22 +0200)
committerVincent Pit <perl@profvince.com>
Sat, 28 Jul 2012 17:36:41 +0000 (19:36 +0200)
commit9922478ce1c1a928a0936fcf7cda1962c2f404da
treef0c522cf4985fac5041a234bf13e56632cfe45c6
parent921abefc6515ee816ce328eba4ac604e37d89752
Only call _parse_version_expression() for lines that contain VERSION

This saves a method call for each source line that does not contain
'VERSION', yielding a whopping 30% speedup for _parse_fh().
lib/Module/Metadata.pm