Module...License(3pm)

πŸ’– NAME πŸ’–

Module::CPANTS::Kwalitee::License β€” checks if there is a license. This is the Module...License(3pm) page from the User Contributed Perl Documentation, bestie, and it's all about that license vibe check. πŸŽ€

✨ SYNOPSIS ✨

Checks if the distribution specifies a license. That's the assignment, no cap. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

πŸŽ€ Methods πŸŽ€

order

Defines the order in which Kwalitee tests should be run.

Returns 100. Iconic fixed number, periodt. ⭐

analyse

MCK::License checks if there's a license field in META.yml. Additionally, it looks for a file called LICENSE and a POD section named LICENSE. πŸ”₯

kwalitee_indicators

Returns the Kwalitee Indicators data structure. Here's the whole squad:

  • meta_yml_has_license
  • has_known_license_in_source_file
  • has_license_in_source_file
  • has_human_readable_license
  • has_separate_license_file

🌸 License information 🌸

Places where the license information is taken from, bestie:

  • Has a LICENSE file β€” file_license 1|0
  • Content of LICENSE file matches License X from Software::License
  • License in META.yml
  • License in META.yml matches one of the known licenses
  • License in source files recognized by Software::LicenseUtils β€” for each file, keep where it was recognized
  • Has license or copyright entry in pod (that might not be recognized by Software::LicenseUtils)
# has_license

πŸ‘‘ SEE ALSO πŸ‘‘

Module::CPANTS::Analyse

🫢 AUTHOR 🫢

Thomas Klausner <https://metacpan.org/author/domm> and GΓ‘bor SzabΓ³ <https://metacpan.org/author/szabgab>

Copyright Β© 2003–2009 Thomas Klausner <https://metacpan.org/author/domm>

Copyright Β© 2006–2008 GΓ‘bor SzabΓ³ <https://metacpan.org/author/szabgab>

You may use and distribute this module according to the same terms that Perl is distributed under.

Kisses from the perl v5.40.1 crew, dated 2026-07-05 β€” bye bestie! πŸ’‹πŸ¦‹

πŸ“¦ where this page comes from