NAME
Module::Version - Fetch versions of modules
VERSION
Version 0.02
SYNOPSIS
This module fetches the version of any other module.
It comes with a CLI program module-version
which does the same.
use Module::Version 'get_version';
print get_version('Search::GIN'), "\n";
Or using module-version
:
$ module-version Search::GIN
0.04
$ module-version Doesnt::Exist
Warning: module 'Doesnt::Exist' does not seem to be installed.
$ module-version -q Doesnt::Exist
(no output)
$ module-version --full Search::GIN
Search::GIN 0.04
$ module-version --input modules.txt
Search::GIN 0.04
Data::Collector 0.03
Moose 1.01
Dancer -
EXPORT
get_version
c<get_version> will be exported if you want it.
Nothing is exported by default.
SUBROUTINES/METHODS
get_version
Accepts a module name and fetches the version of the module.
If the module doesn't exist, returns undef.
AUTHOR
Sawyer X, <xsawyerx at cpan.org>
BUGS
Please report any bugs or feature requests to bug-module-version at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Module-Version. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Module::Version
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
LICENSE AND COPYRIGHT
Copyright 2010 Sawyer X.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.