1CPAN::Kwalify(3)      User Contributed Perl Documentation     CPAN::Kwalify(3)
2
3
4

NAME

6       CPAN::Kwalify - Interface between CPAN.pm and Kwalify.pm
7

SYNOPSIS

9         use CPAN::Kwalify;
10         validate($schema_name, $data, $file, $doc);
11

DESCRIPTION

13       _validate($schema_name, $data, $file, $doc)
14           $schema_name is the name of a supported schema. Currently only
15           "distroprefs" is supported. $data is the data to be validated.
16           $file is the absolute path to the file the data are coming from.
17           $doc is the index of the document within $doc that is to be
18           validated. The last two arguments are only there for better error
19           reporting.
20
21           Relies on being called from within CPAN.pm.
22
23           Dies if something fails. Does not return anything useful.
24
25       yaml($schema_name)
26           Returns the YAML text of that schema. Dies if something fails.
27

AUTHOR

29       Andreas Koenig "<andk@cpan.org>"
30

LICENSE

32       This program is free software; you can redistribute it and/or modify it
33       under the same terms as Perl itself.
34
35       See <http://www.perl.com/perl/misc/Artistic.html>
36
37
38
39perl v5.38.0                      2023-07-20                  CPAN::Kwalify(3)
Impressum