{
    "mode": "perldoc",
    "parameter": "CPAN::Meta::Feature",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/CPAN%3A%3AMeta%3A%3AFeature/json",
    "generated": "2026-06-03T09:49:27Z",
    "sections": {
        "NAME": {
            "content": "CPAN::Meta::Feature - an optional feature provided by a CPAN distribution\n",
            "subsections": []
        },
        "VERSION": {
            "content": "version 2.150010\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "A CPAN::Meta::Feature object describes an optional feature offered by a CPAN distribution and\nspecified in the distribution's META.json (or META.yml) file.\n\nFor the most part, this class will only be used when operating on the result of the \"feature\" or\n\"features\" methods on a CPAN::Meta object.\n",
            "subsections": []
        },
        "METHODS": {
            "content": "new\nmy $feature = CPAN::Meta::Feature->new( $identifier => \\%spec );\n\nThis returns a new Feature object. The %spec argument to the constructor should be the same as\nthe value of the \"optionalfeature\" entry in the distmeta. It must contain entries for\n\"description\" and \"prereqs\".\n\nidentifier\nThis method returns the feature's identifier.\n\ndescription\nThis method returns the feature's long description.\n\nprereqs\nThis method returns the feature's prerequisites as a CPAN::Meta::Prereqs object.\n",
            "subsections": []
        },
        "BUGS": {
            "content": "Please report any bugs or feature using the CPAN Request Tracker. Bugs can be submitted through\nthe web interface at <http://rt.cpan.org/Dist/Display.html?Queue=CPAN-Meta>\n\nWhen submitting a bug or request, please include a test-file or a patch to an existing test-file\nthat illustrates the bug or desired feature.\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "*   David Golden <dagolden@cpan.org>\n\n*   Ricardo Signes <rjbs@cpan.org>\n\n*   Adam Kennedy <adamk@cpan.org>\n",
            "subsections": []
        },
        "COPYRIGHT AND LICENSE": {
            "content": "This software is copyright (c) 2010 by David Golden, Ricardo Signes, Adam Kennedy and\nContributors.\n\nThis is free software; you can redistribute it and/or modify it under the same terms as the Perl\n5 programming language system itself.\n",
            "subsections": []
        }
    },
    "summary": "CPAN::Meta::Feature - an optional feature provided by a CPAN distribution",
    "flags": [],
    "examples": [],
    "see_also": []
}