• Aucun résultat trouvé

SEE ALSO

N/A
N/A
Protected

Academic year: 2022

Partager "SEE ALSO"

Copied!
1
0
0

Texte intégral

(1)

Perl version 5.10.0 documentation - CPAN::API::HOWTO

Page 1 http://perldoc.perl.org

NAME

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

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

Références

Documents relatifs

It prefers ndbm for compatibility reasons with Perl 4, then Berkeley DB (See DB_File), GDBM, SDBM (which is always there--it comes with Perl), and finally ODBM. Requires

As an example, if POSIX.pm is located in /usr/local/lib/perl5/POSIX.pm, AutoLoader will look for perl subroutines POSIX in /usr/local/lib/perl5/auto/POSIX/*.al, where the .al file

This works like <$fh> described in "I/O Operators" in perlop except that it's more readable and can be safely called in a list context but still returns just one

If Perldoc is running under MSWin and uses this class as a formatter, the output will be opened with write.exe or whatever program is specified in the environment variable

It supports the following options, which are explained in Pod::Text: alt, indent, loose, quotes, sentence, width.

simple-minded version of Pod::Simple::Text that formats only the "Pod Errors" section (if Pod::Simple even generates one for the given document). This is a subclass

This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular

Pod::Simple::XMLOutStream's output is space-padded in a way that's better for sending to an XML processor (that is, it has no ignoreable whitespace). But