When writing the AnnoCPAN
code, I decided to ignore module version numbers altogether and only use the distribution version number from the distribution filename (using the heuristics in CPAN::DistnameInfo
). I didn't want to get into the headaches of doing eval's or heuristics to try to find out a module's version number. I don't install or trust the modules in any way, so Schwern's argument wouldn't apply. Therefore I would have happily considered a module such as Module::SafeVersion; even if it is accurate only 99% of the time, that's better than nothing (which is what I have now).