Man Page: module::packaged
Operating Environment: debian
Section: 3pm
Module::Packaged(3pm) User Contributed Perl Documentation Module::Packaged(3pm)NAMEModule::Packaged - Report upon packages of CPAN distributionsSYNOPSISuse Module::Packaged; my $p = Module::Packaged->new(); my $dists = $p->check('Archive-Tar'); # $dists is now: # { # cpan => '1.08', # debian => '1.03', # fedora => '0.22', # freebsd => '1.07', # gentoo => '1.05', # openbsd => '0.22', # suse => '0.23', # } # meaning that Archive-Tar is at version 1.08 on CPAN but only at # version 1.07 on FreeBSD, version 1.05 on Gentoo, version 1.03 on # Debian, version 0.23 on SUSE and version 0.22 on OpenBSDDESCRIPTIONCPAN 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. Only CPAN, Debian, Fedora (Core 2), FreeBSD, Gentoo, Mandriva (10.1), OpenBSD (3.6) and SUSE (9.2) are currently supported. I want to support everything else. Patches are welcome. The data is fetched from the net and cached for an hour.METHODSnew() The new() method is a constructor: my $p = Module::Packaged->new(); check() The check() method returns a hash reference. The keys are various distributions, the values the version number included: my $dists = $p->check('Archive-Tar');COPYRIGHTCopyright (c) 2003-5 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.AUTHORLeon Brocard, leon@astray.com perl v5.12.4 2011-09-17 Module::Packaged(3pm)
| Related Man Pages |
|---|
| cpanplus::module::author(3pm) - mojave |
| inc::module::install(3pm) - debian |
| module::install::bundle(3) - centos |
| module::packaged(3pm) - debian |
| module::packaged::generate(3pm) - debian |
| Similar Topics in the Unix Linux Community |
|---|
| Help with maxssize |
| free fedora cd |
| Where are people landing on the sytemd debate? |
| Problem with Installing Perl Module in Fedora 20 |
| Tar - pre-checking before making the Tar file |