1Software::LicenseUtils(U3s)er Contributed Perl DocumentatSioofntware::LicenseUtils(3)
2
3
4

NAME

6       Software::LicenseUtils - little useful bits of code for licensey things
7

VERSION

9       version 0.103002
10

METHODS

12   guess_license_from_pod
13         my @guesses = Software::LicenseUtils->guess_license_from_pod($pm_text);
14
15       Given text containing POD, like a .pm file, this method will attempt to
16       guess at the license under which the code is available.  This method
17       will either a list of Software::License classes (or instances) or
18       false.
19
20       Calling this method in scalar context is a fatal error.
21
22   guess_license_from_meta
23         my @guesses = Software::LicenseUtils->guess_license_from_meta($meta_str);
24
25       Given the content of the META.(yml|json) file found in a CPAN
26       distribution, this method makes a guess as to which licenses may apply
27       to the distribution.  It will return a list of zero or more
28       Software::License instances or classes.
29

AUTHOR

31       Ricardo Signes <rjbs@cpan.org>
32
34       This software is copyright (c) 2011 by Ricardo Signes.
35
36       This is free software; you can redistribute it and/or modify it under
37       the same terms as the Perl 5 programming language system itself.
38
39
40
41perl v5.12.3                      2011-06-02         Software::LicenseUtils(3)
Impressum