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.

Replies are listed 'Best First'.
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.