Kenichi Ishigaki > Module-New > Module::New::License

Download:
Module-New-0.13.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

Module::New::License

SYNOPSIS ^

  use Module::New::License;
  Module::New::License->render('perl');

DESCRIPTION ^

This is used internally to render a license text. At the moment, only perl license is supported.

METHOD ^

render

takes a license name and render the text.

CREATE OTHER LICENSES ^

  package Your::Module::New::License;
  use Module::New::License 'base';

  license 'license name' => content { my @args = @_; return <<"EOT";
  blah blah blah...
  EOT
  };

With a base flag, domain specific license and content functions will be installed to define custom licenses.

AUTHOR ^

Kenichi Ishigaki, <ishigaki at cpan.org>

COPYRIGHT AND LICENSE ^

Copyright (C) 2007-2009 by Kenichi Ishigaki.

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

syntax highlighting: