![]() |
|
Perl Monk, Perl Meditation | |
PerlMonks |
Re: Find doubly installed modulesby grinder (Bishop) |
on Apr 01, 2007 at 20:46 UTC ( #607726=note: print w/replies, xml ) | Need Help?? |
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.pmThat is likely to be much more robust. Otherwise, ++, a very nice hack. • another intruder with the mooring in the heart of the Perl
In Section
Code Catacombs
|
|