NAME

Module::Packaged - Report upon packages of CPAN distributions

SYNOPSIS

use Module::Packages;

my $p = Module::Packaged->new();
my $dists = $p->check('Archive-Tar');
# $dists is now:
# {
# cpan    => '1.08',
# debian  => '1.03',
# freebsd => '1.07',
# openbsd => '0.22',
# }

# meaning that Archive-Tar is at version 1.08 on CPAN but only at
# version 1.07 on FreeBSD, version 1.03 on Debian and 0.22 on
# OpenBSD

DESCRIPTION

CPAN consists of distributions. However, CPAN is not an isolated system - distributions are also packaged in other places, such as for operating systems. This module reports whether CPAN distributions are packaged for various operating systems, and which version they have.

Note: only CPAN, Debian, FreeBSD, and OpenBSD are currently supported. I want to support versions of PPM, and Redhat. Patches are welcome.

It used to support Gentoo but then they "upgraded" their packages website and made it hard to scrape this information.

COPYRIGHT

Copyright (c) 2003-4 Leon Brocard. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Leon Brocard, leon@astray.com