1CPAN::Meta::Feature(3)User Contributed Perl DocumentationCPAN::Meta::Feature(3)
2
3
4

NAME

6       CPAN::Meta::Feature - an optional feature provided by a CPAN
7       distribution
8

VERSION

10       version 2.120921
11

DESCRIPTION

13       A CPAN::Meta::Feature object describes an optional feature offered by a
14       CPAN distribution and specified in the distribution's META.json (or
15       META.yml) file.
16
17       For the most part, this class will only be used when operating on the
18       result of the "feature" or "features" methods on a CPAN::Meta object.
19

METHODS

21   new
22         my $feature = CPAN::Meta::Feature->new( $identifier => \%spec );
23
24       This returns a new Feature object.  The %spec argument to the
25       constructor should be the same as the value of the "optional_feature"
26       entry in the distmeta.  It must contain entries for "description" and
27       "prereqs".
28
29   identifier
30       This method returns the feature's identifier.
31
32   description
33       This method returns the feature's long description.
34
35   prereqs
36       This method returns the feature's prerequisites as a
37       CPAN::Meta::Prereqs object.
38

BUGS

40       Please report any bugs or feature using the CPAN Request Tracker.  Bugs
41       can be submitted through the web interface at
42       <http://rt.cpan.org/Dist/Display.html?Queue=CPAN-Meta>
43
44       When submitting a bug or request, please include a test-file or a patch
45       to an existing test-file that illustrates the bug or desired feature.
46

AUTHORS

48       ·   David Golden <dagolden@cpan.org>
49
50       ·   Ricardo Signes <rjbs@cpan.org>
51
53       This software is copyright (c) 2010 by David Golden and Ricardo Signes.
54
55       This is free software; you can redistribute it and/or modify it under
56       the same terms as the Perl 5 programming language system itself.
57
58
59
60perl v5.16.3                      2012-04-01            CPAN::Meta::Feature(3)
Impressum