Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 about the Monastery: (4)
As of 2022-05-16 04:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (62 votes). Check out past polls.

    Notices?