📄 howto.pm
字号:
=head1 NAMECPAN::API::HOWTO - a recipe book for programming with CPAN.pm=head1 RECIPESAll of these recipes assume that you have put "use CPAN" at the top ofyour program.=head2 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 thefull path and filename to this distribution on a CPAN mirror, then it isC<.../authors/id/A/AU/AUTHORID/TARBALL>.=head2 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.=head1 SEE ALSOthe main CPAN.pm documentation=head1 LICENSEThis program is free software; you can redistribute it and/ormodify it under the same terms as Perl itself.See L<http://www.perl.com/perl/misc/Artistic.html>=head1 AUTHORDavid Cantrell=cut
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -