package ExtUtils::ModuleMaker::Licenses::Local; use strict; use warnings; BEGIN { use base qw(Exporter); our $VERSION = "0.63"; our @EXPORT_OK = qw(Get_Local_License Verify_Local_License); } my %licenses = ( looselips => { function => \&License_LooseLips, fullname => 'Loose Lips License (1.0)', }, ); sub Get_Local_License { my $choice = shift; $choice = lc ($choice); return ($licenses{$choice}{function}) if (exists $licenses{$choice}); return; } sub Verify_Local_License { my $choice = shift; return (exists $licenses{lc ($choice)}); } sub interact { my $class = shift; return (bless ( { map { ($licenses{$_}{fullname}) ? ($_ => $licenses{$_}{fullname}) : () } keys (%licenses) }, ref ($class) || $class) ); } sub License_LooseLips { my %license; $license{COPYRIGHT} = < =item * C =back =head2 License_LooseLips Purpose : Get the copyright pod text and LICENSE file text for this license =head1 BUGS None known at this time. =head1 AUTHOR/MAINTAINER ExtUtils::ModuleMaker was originally written in 2001-02 by R. Geoffrey Avery (modulemaker [at] PlatypiVentures [dot] com). Since version 0.33 (July 2005) it has been maintained by James E. Keenan (jkeenan [at] cpan [dot] org). =head1 SUPPORT Send email to jkeenan [at] cpan [dot] org. Please include 'modulemaker' in the subject line. =head1 COPYRIGHT Copyright (c) 2001-2002 R. Geoffrey Avery. Revisions from v0.33 forward (c) 2005, 2018 James E. Keenan. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. =head1 SEE ALSO F, F, perl(1). =cut