The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

MetaCPAN::Client::File - A File data object

VERSION

version 2.001000

DESCRIPTION

A MetaCPAN file entity object.

ATTRIBUTES

status

date

author

maturity

directory

indexed

documentation

id

authorized

version

binary

name

version_numified

release

path

description

distribution

level

sloc

abstract

slop

mime

module

Array-Ref.

pod_lines

Array-Ref.

stat

Hash-Ref.

METHODS

pod

    my $pod = $module->pod(); # default = plain
    my $pod = $module->pod($type);

Returns the POD content for the module/file.

Takes a type as argument.

Supported types: plain, html, x-pod, x-markdown.

source

    my $source = $module->source();

Returns the source code for the file.

AUTHORS

  • Sawyer X <xsawyerx@cpan.org>

  • Mickey Nasriachi <mickey@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 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.