develooper Front page | perl.perl5.porters | Postings from January 2002

Re: perl -v -MSome::Module

Thread Previous | Thread Next
Michael G Schwern
January 15, 2002 14:48
Re: perl -v -MSome::Module
Message ID:
On Tue, Jan 15, 2002 at 06:31:05PM +0100, Tels wrote:
> when I want to find out the version of something installed. So I thought it
> would be nice to have something along the lines:
>         perl -v -MFoo::Bar
> or
>         perl -MFoo::Bar -v

Rather than a core hack, you could write a little module and then have:

    perl -MV=Foo::Bar

do whatever you like.

Or write a tiny little wrapper script and do:

    vof Foo::Bar


Michael G. Schwern   <>
Perl Quality Assurance	    <>	       Kwalitee Is Job One
Now I fight for wisdom.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About