Query: cpan::api::howto
OS: debian
Section: 3perl
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CPAN::API::HOWTO(3perl) Perl Programmers Reference Guide CPAN::API::HOWTO(3perl)NAMECPAN::API::HOWTO - a recipe book for programming with CPAN.pmRECIPESAll of these recipes assume that you have put "use CPAN" at the top of your program. What distribution contains a particular module? 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". What modules does a particular distribution contain? 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 ALSOthe main CPAN.pm documentationLICENSEThis program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See <http://www.perl.com/perl/misc/Artistic.html>AUTHORDavid Cantrell perl v5.14.2 2010-12-30 CPAN::API::HOWTO(3perl)
Similar Topics in the Unix Linux Community |
---|
awk or sed - Convert 2 lines to 1 line |
How can I do this in VI editor? |
Is UNIX an open source OS ? |
Introduction |