
Module::metadata provides a standard way to gather metadata (like name, version, list of packages, list of pod sections, ...) about a .pm file through (mostly) static analysis and (some) code execution. when determining the version of a module, the $version assignment is evaled, as is traditional in the cpan toolchain.