Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by hippo (Curate)
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 examining the Monastery: (6)
As of 2014-09-19 03:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (129 votes), past polls