Rechercher une page de manuel
Software::LicenseUtils.3pm
Langue: en
Version: 2008-06-16 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
Software::LicenseUtils - little useful bits of code for licensey thingsMETHODS
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_yml
my @guesses = Software::LicenseUtils->guess_license_from_meta_yml($yaml_str);
Given the content of the META.yml 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.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre