NAME
Software::License - packages that provide templated software licenses
VERSION
version 0.001
SYNOPSIS
my $license = Software::License::Discordian->new({
holder => 'Ricardo Signes',
});
print $output_fh $license->fulltext;
DESCRIPTION
METHODS
new
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
year
holder
These methods are attribute readers.
notice
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.
license
This method returns the full text of the license.
fulltext
This method returns the complete text of the license, preceded by the copyright notice.
version
This method returns the version of the license. If the license is not versioned, this method will return false.
TODO
register licenses with aliases to allow $registry->get('gpl', 2);
COPYRIGHT AND LICENSE
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.