The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

version.pl - extracts module data from installed and uninstalled modules

SYNOPSIS

% version.pl DBI

% version.pl XML::Simple

% version.pl ~jonasbn/Develop/Games/Bingo/lib/Games/Bingo.pm

DESCRIPTION

The script takes either a module name (SEE SYNOPSIS) or a path to a Perl module or script file.

The script looks for a package definition and a version file.

The script is quite simple, the Module::Info::File and Mattia Barbon's Module::Info holds all the interesting stuff.

In the beginning I was using Module::Info, but due to a lacking functionality in this module I created Module::Info::File, which inherits from Module::Info and replaces the new_from_file method so the lacking data can be accessed. Apart from that you can use all the neat accessors from Module::Info.

SEE ALSO

Module::Info
Module::Info::File

AUTHOR

jonasbn <jonasbn@cpan.org>

COPYRIGHT

version.pl is free software and is released under the Artistic License. See <http://www.perl.com/language/misc/Artistic.html> for details.

version.pl is (C) 2003 Jonas B. Nielsen (jonasbn) <jonasbn@cpan.org>