[% IF not module -%] [%- IF out.match('^lib') -%] [%- out = out.replace('lib/', '') -%] [%- out = out.replace('[.]pm', '') -%] [%- out = out.replace('/', '::', 1) -%] [%- module = out -%] [%- END -%] [% END -%] [% IF not module %][% module = 'Module::Name' %][% END -%] [% IF not version %][% version.perl = '0.001' %][% END -%] =head1 NAME [% module %] - [% INCLUDE perl/pod/VERSION.pl %] [% INCLUDE perl/pod/SYNOPSIS.pl %] [% INCLUDE perl/pod/DESCRIPTION.pl %] [% INCLUDE perl/pod/METHODS.pl %] [% IF !moose -%] [% INCLUDE perl/pod.pl return => module, sub => 'new' -%] [% END %] [% INCLUDE perl/pod/detailed.pl %] =head1 AUTHOR [% contact.fullname %] - ([% contact.email %]) =head1 LICENSE AND COPYRIGHT [% INCLUDE licence.txt %] =cut