in reply to Find doubly installed modules
Rather than inventing your own technique for determining versions, use battle-tested code:perl -MExtUtils::MakeMaker -le 'print MM->parse_version(shift)' /path/to/module.pm
That is likely to be much more robust. Otherwise, ++, a very nice hack.
• another intruder with the mooring in the heart of the Perl