Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Finding Module Versions - How Would You Do It?

by hippo (Vicar)
on Feb 13, 2013 at 14:37 UTC ( #1018548=note: print w/ replies, xml ) Need Help??


in reply to Re: Finding Module Versions - How Would You Do It?
in thread Finding Module Versions - How Would You Do It?

I have this bash function in my .bashrc:

pmv () { perl -M$1 -e "print \$$1::VERSION . qq/\n/;"; }

which is based along similar lines and works for me. It is invoked like this:

pmv Test::More

Simple, but effective.


Comment on Re^2: Finding Module Versions - How Would You Do It?
Select or Download Code
Re^3: Finding Module Versions - How Would You Do It?
by Ralesk (Pilgrim) on Feb 14, 2013 at 15:35 UTC

    Have you two even read the post at all? This is exactly what Tommy doesn’t want to do for reasons explained there.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (18)
As of 2015-07-01 15:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (5 votes), past polls