Module::Extract::VERSION man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Module::Extract::VERSIUser)Contributed Perl DocumenModule::Extract::VERSION(3)

NAME
       Module::Extract::VERSION - Extract a module version without running
       code

SYNOPSIS
	       use Module::Extract::VERSION;

	       my $version   # just the version
		       = Module::Extract::VERSION->parse_version_safely( $file );

	       my @version_info # extra info
		       = Module::Extract::VERSION->parse_version_safely( $file );

DESCRIPTION
       This module lets you pull out of module source code the version number
       for the module. It assumes that there is only one $VERSION in the file.

   Class methods
       $class->parse_version_safely( FILE );
	   Given a module file, return the module version. This works just
	   like "mldistwatch" in PAUSE. It looks for the single line that has
	   the $VERSION statement, extracts it, evals it, and returns the
	   result.

	   In scalar context, it returns just the version as a string. In list
	   context, it returns the list of:

		   sigil
		   fully-qualified variable name
		   version value
		   file name
		   line number of $VERSION

SOURCE AVAILABILITY
       This code is in Github:

	       git://github.com/briandfoy/module-extract-version.git

AUTHOR
       brian d foy, "<bdfoy@cpan.org>"

       I stole the some of this code from "mldistwatch" in the PAUSE code by
       Andreas Koenig, but I've moved most of it around.

COPYRIGHT AND LICENSE
       Copyright (c) 2008-2011, brian d foy, All Rights Reserved.

       You may redistribute this under the same terms as Perl itself.

perl v5.14.1			  2011-04-26	   Module::Extract::VERSION(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net