Closed charsbar closed 8 years ago
Note that Debian has a license_check script to guess license from comments of source files. I believe this script provides a functionality similar to guess_license_from_pod
.
This script is GPL-2, but I'm pretty sure you can get permission from its authors to include code info Software::License (which has a more persmissive license). You certainly have mine.
All the best
We like this and will merge it.
Thanks, applied in 0.103012!
Not a few modules (eg. https://metacpan.org/pod/POE::Component::Server::Syslog) have a license text without its title in their pod, and CPANTS (with Software::LicenseUtil::guess_license_from_pod) mistakenly guesses that they are under the MIT license, because of a word like "permitted". At least guess_license_from_pod should respect word boundaries. This would also help distinguish FreeBSD from BSD, etc. (It would be nice if it also detects licenses from the license text, but it should be another request).