Skip to content

abeltje/V

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

V version 0.18

This module uses stolen code from Module::Info to find the location and version of the specified module(s). It prints them and exit()s.

It works by definening import() and is based on an idea from Michael Schwern on the perl5-porters list. See the discussion

$ perl -MV=CPAN
CPAN
        /opt/homebrew/opt/perl/lib/perl5/5.38/CPAN.pm: 2.36

or if you want more than one package

$ perl -MV=CPAN,V

As of version 0.17 it will show all packages and classes in a file with a version. (If one wants all packages/classes in the files, set the environment variable PERL_V_SHOW_ALL)

$ perl -MV=SOAP::Lite
SOAP::Lite
        /opt/homebrew/opt/perl/lib/perl5/site_perl/5.38/SOAP/Lite.pm:
            SOAP::Lite: 1.27
            SOAP::Client: 1.27

INSTALLATION

To install this module type the following commands:

  • perl Makefile.PL
  • make test
  • make install

DEPENDENCIES

This module requires no extra modules or libraries from perl version 5.10.1 (exept Test::More, Test::Warnings, Test::Fatal for the test-suite).

SEE ALSO

To get more info on the programming interface see perldoc V

COPYRIGHT

© 2002 Abe Timmerman abeltje@cpan.org. All rights reserved.

LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

About

Print version of the specified module(s).

Resources

Stars

Watchers

Forks

Packages

No packages published