1MetaCPAN::API::File(3)User Contributed Perl DocumentationMetaCPAN::API::File(3)
2
3
4

NAME

6       MetaCPAN::API::File - File information for MetaCPAN::API
7

VERSION

9       version 0.51
10

DESCRIPTION

12       This role provides MetaCPAN::API with fetching file information about
13       modules and distribution releases.
14

METHODS

16   file
17           my $result = $mcpan->file(
18               author  => 'DOY',
19               release => 'Moose-2.0201',
20               path    => 'lib/Moose.pm',
21           );
22
23           # or
24           my $result = $mcpan->file(
25               author  => 'DOY',
26               release => 'Moose-2.0201',
27           );
28
29           # or
30           my $result1 = $mcpan->file('MetaCPAN::API');
31           my $result2 = $mcpan->file( id => 'EMfoAvoYhHpUK8MVJSkm4KN5GmY' );
32
33       Searches MetaCPAN for a module or a specific release and returns
34       file/directory information.  If path is omitted, it gets information on
35       the root directory.
36

AUTHOR

38       Sawyer X <xsawyerx@cpan.org>
39
41       This software is copyright (c) 2011 by Sawyer X.
42
43       This is free software; you can redistribute it and/or modify it under
44       the same terms as the Perl 5 programming language system itself.
45
46
47
48perl v5.36.0                      2022-07-22            MetaCPAN::API::File(3)
Impressum