Florian Ragwitz > App-Software-License-0.01 > App::Software::License

Download:
App-Software-License-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 0.01   Source   Latest Release: App-Software-License-0.02

NAME ^

App::Software::License - commandline interface to Software::License

VERSION ^

version 0.01

SYNOPSIS ^

    software-license --holder 'J. Random Hacker' --license Perl_5 --type notice

DESCRIPTION ^

This module provides a commandline interface to Software::License. It can be used to easily produce license notices to be included in other documents.

All the attributes documented below are available as commandline options through MooseX::Getopt and can also be configured in ".software_license.conf" in $HOME though MooseX::SimpleConfig.

ATTRIBUTES ^

holder

Name of the license holder.

year

Year to be used in the copyright notice.

license

Name of the license to use. Must be the name of a module available under the Software::License:: namespace. Defaults to Perl_5.

type

The type of license notice you'd like to generate. Available values are:

* 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 returns nothing.

* meta_yml_name

This method returns the string that should be used for this license in the CPAN META.yml file, or nothing if there is no known string to use.

AUTHOR ^

  Florian Ragwitz <rafl@debian.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2009 by Florian Ragwitz.

This is free software; you can redistribute it and/or modify it under the same terms as perl itself.

syntax highlighting: