Software::License - packages that provide templated software licenses
version 0.007
my $license = Software::License::Discordian->new({ holder => 'Ricardo Signes', }); print $output_fh $license->fulltext;
my $license = $subclass->new(\%arg);
This method returns a new license object for the given license class. Valid arguments are:
holder - the holder of the copyright; required year - the year of copyright; defaults to current year
These methods are attribute readers.
This method returns the name of the license, suitable for shoving in the middle of a sentence, generally with a leading capitalized "The."
This method returns the URL at which a canonical text of the license can be found, if one is available. If possible, this will point at plain text, but it may point to an HTML resource.
This method returns a snippet of text, usually a few lines, indicating the copyright holder and year of copyright, as well as an indication of the license under which the software is distributed.
This method returns the full text of the license.
This method returns the complete text of the license, preceded by the copyright notice.
This method returns the version of the license. If the license is not versioned, this method will return false.
This method returns the string that should be used for this license in the CPAN META.yml file, or undef if there is no known string to use.
register licenses with aliases to allow $registry->get('gpl', 2);
This software is Copyright (c) 2008 by Ricardo SIGNES.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Software::License, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Software::License
CPAN shell
perl -MCPAN -e shell install Software::License
For more information on module installation, please visit the detailed CPAN module installation guide.