Lines Matching full:cpan

4 package CPAN::Meta;
13 #pod use CPAN::Meta;
16 #pod my $meta = CPAN::Meta->load_file('META.json');
42 #pod Software distributions released to the CPAN include a F<META.json> or, for
46 #pod L<CPAN::Meta::Spec>.
48 #pod CPAN::Meta provides a simple class to represent this distribution metadata (or
51 #pod The documentation below is only for the methods of the CPAN::Meta object. For
57 use CPAN::Meta::Feature;
58 use CPAN::Meta::Prereqs;
59 use CPAN::Meta::Converter;
60 use CPAN::Meta::Validator;
61 use Parse::CPAN::Meta 1.4414 ();
63 BEGIN { *_dclone = \&CPAN::Meta::Converter::_dclone }
197 #pod my $meta = CPAN::Meta->new($distmeta_struct, \%options);
199 #pod Returns a valid CPAN::Meta object or dies if the supplied metadata hash
211 #pod fixable errors will be handled by CPAN::Meta::Converter before validation.
225 my $cmc = CPAN::Meta::Converter->new( $struct );
231 my $cmv = CPAN::Meta::Validator->new( $struct );
244 my $cmc = CPAN::Meta::Converter->new( $struct );
260 #pod my $meta = CPAN::Meta->create($distmeta_struct, \%options);
264 #pod assumed to otherwise follow the latest L<CPAN::Meta::Spec>.
280 #pod my $meta = CPAN::Meta->load_file($distmeta_file, \%options);
283 #pod according to its file suffix and constructs a new C<CPAN::Meta> object, just
301 my $struct = Parse::CPAN::Meta->load_file( $file );
310 #pod my $meta = CPAN::Meta->load_yaml_string($yaml, \%options);
312 #pod This method returns a new CPAN::Meta object using the first document in the
323 my ($struct) = Parse::CPAN::Meta->load_yaml_string( $yaml );
332 #pod my $meta = CPAN::Meta->load_json_string($json, \%options);
334 #pod This method returns a new CPAN::Meta object using the structure represented by
345 my $struct = Parse::CPAN::Meta->load_json_string( $json );
354 #pod my $meta = CPAN::Meta->load_string($string, \%options);
357 #pod L<Parse::CPAN::Meta> to guess. In other respects it is identical to
368 my $struct = Parse::CPAN::Meta->load_string( $string );
389 #pod L<CPAN::Meta::Converter> is used to generate an older metadata structure, which
390 #pod is serialized to YAML. CPAN::Meta::YAML is the default YAML backend. You may
393 #pod CPAN.
443 #pod This method returns a L<CPAN::Meta::Prereqs> object describing all the
446 #pod distribution's core prereqs before the CPAN::Meta::Prereqs object is returned.
454 my $prereq = CPAN::Meta::Prereqs->new($self->prereqs);
520 #pod This method returns a list of L<CPAN::Meta::Feature> objects, one for each
529 my @features = map {; CPAN::Meta::Feature->new($_ => $opt_f->{ $_ }) }
539 #pod This method returns a L<CPAN::Meta::Feature> object for the optional feature
551 return CPAN::Meta::Feature->new($ident, $f);
571 my $cmc = CPAN::Meta::Converter->new( $struct );
607 my $cmc = CPAN::Meta::Converter->new( $self->as_struct );
616 $backend = Parse::CPAN::Meta->json_backend();
622 $backend = Parse::CPAN::Meta->yaml_backend();
641 # ABSTRACT: the distribution metadata for a CPAN dist
649 CPAN::Meta - the distribution metadata for a CPAN dist
660 use CPAN::Meta;
663 my $meta = CPAN::Meta->load_file('META.json');
689 Software distributions released to the CPAN include a F<META.json> or, for
693 L<CPAN::Meta::Spec>.
695 CPAN::Meta provides a simple class to represent this distribution metadata (or
698 The documentation below is only for the methods of the CPAN::Meta object. For
705 my $meta = CPAN::Meta->new($distmeta_struct, \%options);
707 Returns a valid CPAN::Meta object or dies if the supplied metadata hash
719 fixable errors will be handled by CPAN::Meta::Converter before validation.
727 my $meta = CPAN::Meta->create($distmeta_struct, \%options);
731 assumed to otherwise follow the latest L<CPAN::Meta::Spec>.
735 my $meta = CPAN::Meta->load_file($distmeta_file, \%options);
738 according to its file suffix and constructs a new C<CPAN::Meta> object, just
747 my $meta = CPAN::Meta->load_yaml_string($yaml, \%options);
749 This method returns a new CPAN::Meta object using the first document in the
754 my $meta = CPAN::Meta->load_json_string($json, \%options);
756 This method returns a new CPAN::Meta object using the structure represented by
761 my $meta = CPAN::Meta->load_string($string, \%options);
764 L<Parse::CPAN::Meta> to guess. In other respects it is identical to
781 L<CPAN::Meta::Converter> is used to generate an older metadata structure, which
782 is serialized to YAML. CPAN::Meta::YAML is the default YAML backend. You may
785 CPAN.
800 This method returns a L<CPAN::Meta::Prereqs> object describing all the
803 distribution's core prereqs before the CPAN::Meta::Prereqs object is returned.
829 This method returns a list of L<CPAN::Meta::Feature> objects, one for each
836 This method returns a L<CPAN::Meta::Feature> object for the optional feature
982 Please report any bugs or feature using the CPAN Request Tracker.
984 L<http://rt.cpan.org/Dist/Display.html?Queue=CPAN-Meta>
995 L<CPAN::Meta::Converter>
999 L<CPAN::Meta::Validator>
1003 =for :stopwords cpan testmatrix url annocpan anno bugtracker rt cpants kwalitee diff irc mailto met…
1010 at L<https://github.com/Perl-Toolchain-Gang/CPAN-Meta/issues>.
1018 L<https://github.com/Perl-Toolchain-Gang/CPAN-Meta>
1020 git clone https://github.com/Perl-Toolchain-Gang/CPAN-Meta.git
1028 David Golden <dagolden@cpan.org>
1032 Ricardo Signes <rjbs@cpan.org>
1036 Adam Kennedy <adamk@cpan.org>
1048 Ansgar Burchardt <ansgar@cpan.org>
1052 Avar Arnfjord Bjarmason <avar@cpan.org>
1060 Christopher J. Madsen <cjm@cpan.org>
1068 Cory G Watson <gphat@cpan.org>
1072 Damyan Ivanov <dam@cpan.org>
1080 Eric Wilhelm <ewilhelm@cpan.org>
1092 Karen Etheridge <ether@cpan.org>
1096 Kenichi Ishigaki <ishigaki@cpan.org>
1104 Ken Williams <kwilliams@cpan.org>
1108 Lars Dieckow <daxim@cpan.org>
1112 Leon Timmermans <leont@cpan.org>
1120 Mark Fowler <markf@cpan.org>
1128 Michael G. Schwern <mschwern@cpan.org>
1152 Olivier Mengué <dolmen@cpan.org>