Linux cpanel2.daytoncreative.net 2.6.32-754.29.2.el6.x86_64 #1 SMP Tue May 12 17:39:04 UTC 2020 x86_64
Apache/2.4.43 (cPanel) OpenSSL/1.1.1g mod_bwlimited/1.4
Server IP : 70.62.220.67 & Your IP : 216.73.216.193
Domains :
Cant Read [ /etc/named.conf ]
User : michaelgreg
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
log /
perl-5.20.2 /
lib /
CPAN /
Meta /
Delete
Unzip
Name
Size
Permission
Date
Action
Converter.pm
43.54
KB
-r--r--r--
2014-12-27 11:49
Feature.pm
3.16
KB
-r--r--r--
2014-12-27 11:49
History.pm
5.19
KB
-r--r--r--
2014-12-27 11:49
Prereqs.pm
11.3
KB
-r--r--r--
2014-12-27 11:49
Requirements.pm
17.3
KB
-r--r--r--
2014-12-27 11:49
Spec.pm
33.71
KB
-r--r--r--
2014-12-27 11:49
Validator.pm
32.58
KB
-r--r--r--
2014-12-27 11:49
YAML.pm
26.88
KB
-r--r--r--
2014-12-27 11:48
Save
Rename
use 5.006; use strict; use warnings; package CPAN::Meta::Feature; our $VERSION = '2.140640'; # VERSION use CPAN::Meta::Prereqs; # =head1 DESCRIPTION # # A CPAN::Meta::Feature object describes an optional feature offered by a CPAN # distribution and specified in the distribution's F<META.json> (or F<META.yml>) # file. # # For the most part, this class will only be used when operating on the result of # the C<feature> or C<features> methods on a L<CPAN::Meta> object. # # =method new # # my $feature = CPAN::Meta::Feature->new( $identifier => \%spec ); # # This returns a new Feature object. The C<%spec> argument to the constructor # should be the same as the value of the C<optional_feature> entry in the # distmeta. It must contain entries for C<description> and C<prereqs>. # # =cut sub new { my ($class, $identifier, $spec) = @_; my %guts = ( identifier => $identifier, description => $spec->{description}, prereqs => CPAN::Meta::Prereqs->new($spec->{prereqs}), ); bless \%guts => $class; } # =method identifier # # This method returns the feature's identifier. # # =cut sub identifier { $_[0]{identifier} } # =method description # # This method returns the feature's long description. # # =cut sub description { $_[0]{description} } # =method prereqs # # This method returns the feature's prerequisites as a L<CPAN::Meta::Prereqs> # object. # # =cut sub prereqs { $_[0]{prereqs} } 1; # ABSTRACT: an optional feature provided by a CPAN distribution __END__ =pod =encoding UTF-8 =head1 NAME CPAN::Meta::Feature - an optional feature provided by a CPAN distribution =head1 VERSION version 2.140640 =head1 DESCRIPTION A CPAN::Meta::Feature object describes an optional feature offered by a CPAN distribution and specified in the distribution's F<META.json> (or F<META.yml>) file. For the most part, this class will only be used when operating on the result of the C<feature> or C<features> methods on a L<CPAN::Meta> object. =head1 METHODS =head2 new my $feature = CPAN::Meta::Feature->new( $identifier => \%spec ); This returns a new Feature object. The C<%spec> argument to the constructor should be the same as the value of the C<optional_feature> entry in the distmeta. It must contain entries for C<description> and C<prereqs>. =head2 identifier This method returns the feature's identifier. =head2 description This method returns the feature's long description. =head2 prereqs This method returns the feature's prerequisites as a L<CPAN::Meta::Prereqs> object. =head1 BUGS Please report any bugs or feature using the CPAN Request Tracker. Bugs can be submitted through the web interface at L<http://rt.cpan.org/Dist/Display.html?Queue=CPAN-Meta> When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature. =head1 AUTHORS =over 4 =item * David Golden <dagolden@cpan.org> =item * Ricardo Signes <rjbs@cpan.org> =back =head1 COPYRIGHT AND LICENSE This software is copyright (c) 2010 by David Golden and Ricardo Signes. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. =cut