Alex Skud Bayley > Module-InstalledVersion-0.05 > Module::InstalledVersion

Download:
Module-InstalledVersion-0.05.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Module Version: 0.05   Source   Latest Release: Module-InstalledVersion-0.05_01

NAME ^

Module::InstalledVersion - Find out what version of a module is installed

SYNOPSIS ^

    use Module::InstalledVersion;
    my $m = new Module::InstalledVersion 'Foo::Bar';
    print "Version is $m->{version}\n";
    print "Directory is $m->{dir}\n";

DESCRIPTION ^

This module finds out what version of another module is installed, without running that module. It uses the same regexp technique used by Extutils::MakeMaker for figuring this out.

Note that it won't work if the module you're looking at doesn't set $VERSION properly. This is true of far too many CPAN modules.

COPYRIGHT ^

Copyright (c) 2001 Kirrily Robert. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO ^

Extutils::MakeMaker

AUTHOR ^

Kirrily "Skud" Robert <skud@cpan.org>

syntax highlighting: