The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Test::Software::LicenseUtils - add a hacked local LicenseUtils

VERSION

This document describes Test::Software::LicenseUtils version 0.001005

DESCRIPTION

This is a hack of Software::LicenseUtils which includes #issue16 and #issue17

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.

AUTHOR

See Test::Software::License

CONTRIBUTORS

See Test::Software::License

COPYRIGHT

See Test::Software::License

LICENSE

See Test::Software::License