Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Module::Version(3)    User Contributed Perl Documentation   Module::Version(3)

NAME
       Module::Version - Get module versions

VERSION
       version 0.201

SYNOPSIS
       This module fetches the version of any other module.

       It comes	with a CLI program "mversion" which does the same.

	   use Module::Version 'get_version';

	   print get_version('Search::GIN'), "\n";

       Or using	"mversion":

	   $ mversion Search::GIN
	   0.04

	   $ mversion Doesnt::Exist
	   Warning: module 'Doesnt::Exist' does	not seem to be installed.

	   $ mversion --quiet Doesnt::Exist
	   (no output)

	   $ mversion --full Search::GIN Moose
	   Search::GIN 0.04
	   Moose 1.01

	   $ mversion --input modules.txt
	   Search::GIN 0.04
	   Data::Collector 0.03
	   Moose 1.01

EXPORT
   get_version
       "get_version" will be exported if explicitly specified.

	   use Module::Version 'get_version';

       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.

BUGS
       Please report bugs and other issues on the bugtracker:

       <http://github.com/xsawyerx/module-version/issues>

SUPPORT
       This module sports 100% test coverage, but in case you have more
       issues, please see BUGS above.

AUTHOR
       Sawyer X

COPYRIGHT AND LICENSE
       This software is	copyright (c) 2010-2018	by Sawyer X.

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

perl v5.32.1			  2019-02-24		    Module::Version(3)

NAME | VERSION | SYNOPSIS | EXPORT | SUBROUTINES/METHODS | BUGS | SUPPORT | AUTHOR | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Module::Version&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help