Provided by: libsoftware-license-perl_0.103008-1_all
NAME
Software::LicenseUtils - little useful bits of code for licensey things
VERSION
version 0.103008
METHODS
guess_license_from_pod my @guesses = Software::LicenseUtils->guess_license_from_pod($pm_text); Given text containing POD, like a .pm file, this method will attempt to guess at the license under which the code is available. This method will either a list of Software::License classes (or instances) or false. Calling this method in scalar context is a fatal error. guess_license_from_meta my @guesses = Software::LicenseUtils->guess_license_from_meta($meta_str); Given the content of the META.(yml|json) file found in a CPAN distribution, this method makes a guess as to which licenses may apply to the distribution. It will return a list of zero or more Software::License instances or classes. new_from_short_name my $license_object = Software::LicenseUtils->new_from_short_name( { short_name => 'GPL-1', holder => 'X. Ample' }) ; Create a new Software::License object from the license specified with "short_name". Known short license names are "GPL-*", "LGPL-*" , "Artistic" and "Artistic-*"
AUTHOR
Ricardo Signes <rjbs@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by 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.