Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Find doubly installed modules

by grinder (Bishop)
on Apr 01, 2007 at 20:46 UTC ( #607726=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://607726]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2023-03-21 10:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (60 votes). Check out past polls.

    Notices?