GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CPAN::API::HOWTO (3)

.ds Aq ’

NAME

CPAN::API::HOWTO - a recipe book for programming with CPAN.pm

CONTENTS

RECIPES

All 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 ALSO

the main CPAN.pm documentation

LICENSE

This 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>

AUTHOR

David Cantrell
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.22.1 CPAN::API::HOWTO (3) 2015-10-17

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.