CPAN::API::HOWTO - a recipe book for programming with CPAN.pm
my $distribution = CPAN::Shell->expand( "Module", "Data::UUID" )->distribution()->pretty_id();
This returns a string of the form ``AUTHORID/TARBALL''. If you want the full path and filename to this distribution on a CPAN mirror, then it is ".../authors/id/A/AU/AUTHORID/TARBALL".
CPAN::Index->reload(); my @modules = CPAN::Shell->expand( "Distribution", "JHI/Graph-0.83.tar.gz" )->containsmods();
You may also refer to a distribution in the form A/AU/AUTHORID/TARBALL.
See <http://www.perl.com/perl/misc/Artistic.html>
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |