MetaCPAN::API::File - File information for MetaCPAN::API
version 0.51
This role provides MetaCPAN::API with fetching file information about modules and distribution releases.
my $result = $mcpan->file( author => 'DOY', release => 'Moose-2.0201', path => 'lib/Moose.pm', ); # or my $result = $mcpan->file( author => 'DOY', release => 'Moose-2.0201', ); # or my $result1 = $mcpan->file('MetaCPAN::API'); my $result2 = $mcpan->file( id => 'EMfoAvoYhHpUK8MVJSkm4KN5GmY' );
Searches MetaCPAN for a module or a specific release and returns file/directory information. If path is omitted, it gets information on the root directory.
Sawyer X <xsawyerx@cpan.org>
This software is copyright (c) 2011 by Sawyer X.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install MetaCPAN::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MetaCPAN::API
CPAN shell
perl -MCPAN -e shell install MetaCPAN::API
For more information on module installation, please visit the detailed CPAN module installation guide.