On 1 Apr, John Peacock wrote: : If a module contains a line that matches the $VERSION regex, yet evaluates to : undef inside the indexer, then use the package $VERSION (as defined by the : META.yml or Makefile.PL/Build.PL stanza). Only report 'undef' for modules which : have no $VERSION stanza at all.
I don't know about the current implementation, but shouldn't do eval {
require $module_path } should be more failsafe than a regex? Argueably
slower?
Steven Schubiger
