/usr/share/doc/libmodule-starter-plugin-tt2-perl/examples/inline is in libmodule-starter-plugin-tt2-perl 0.125-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 | ___Module.pm___
package [%module%];
use warnings;
use strict;
=head1 NAME
[%module%] - The fantastic new [%module%]!
=head1 VERSION
version 0.001
=cut
our $VERSION = '0.001';
=head1 SYNOPSIS
Quick summary of what the module does.
Perhaps a little code snippet.
use [%module%];
my $foo = [%module%]->new;
...
=head1 EXPORT
A list of functions that can be exported. You can delete this section
if you don't export anything, such as for a purely object-oriented module.
=head1 FUNCTIONS
=head2 function1
=cut
sub function1 {
}
=head2 function2
=cut
sub function2 {
}
=head1 AUTHOR
[%self.author%], C<< <[%self.email%]> >>
=head1 BUGS
Please report any bugs or feature requests to
C<bug-[%rtname%]@rt.cpan.org>, or through the web interface at
L<http://rt.cpan.org>. I will be notified, and then you'll automatically be
notified of progress on your bug as I make changes.
=head1 COPYRIGHT & LICENSE
Copyright [%year%] [%self.author%], All Rights Reserved.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
=cut
1; # End of [%module%]
___Makefile.PL___
use strict;
use warnings;
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => '[%main_module%]',
AUTHOR => '[% self.author %] <[% self.email %]>',
VERSION_FROM => '[%main_pm_file%]',
ABSTRACT_FROM => '[%main_pm_file%]',
LICENSE => 'perl',
PL_FILES => {},
PREREQ_PM => {
'Test::More' => 0,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => '[%self.distro%]-*' },
);
___Build.PL___
use strict;
use warnings;
use Module::Build;
my $builder = Module::Build->new(
module_name => '[%main_module%]',
license => '[%self.license%]',
dist_author => '[%self.author%] <[%self.email%]>',
dist_version_from => '[%main_pm_file%]',
requires => {
'Test::More' => 0,
},
add_to_cleanup => [ '[%self.distro%]-*' ],
);
$builder->create_build_script();
___Changes___
Revision history for [%self.distro%]
0.01 Date/time
First version, released on an unsuspecting world.
___README___
[%self.distro%]
The README is used to introduce the module and provide instructions on
how to install the module, any machine dependencies it may have (for
example C compilers and installed libraries) and any other information
that should be provided before the module is installed.
A README file is required for CPAN modules since CPAN extracts the README
file from a module distribution so that people browsing the archive
can use it get an idea of the modules uses. It is usually a good idea
to provide version information here so that people can decide whether
fixes for the module are worth downloading.
INSTALLATION
[%build_instructions%]
COPYRIGHT AND LICENCE
Put the correct copyright and licence information here.
Copyright (C) [%year%] [% self.author %]
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
___pod.t___
use Test::More;
eval "use Test::Pod 1.14";
plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
all_pod_files_ok();
___pod-coverage.t___
use Test::More;
eval "use Test::Pod::Coverage 1.04";
plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage"
if $@;
all_pod_coverage_ok();
___00-load.t___
use Test::More tests => [% modules.size %];
BEGIN {
[% FOREACH module = modules -%]
use_ok('[%module%]');
[% END -%]
}
diag( "Testing [%modules.0%] $[%modules.0%]::VERSION" );
___MANIFEST___
[% FOREACH file = files -%]
[% file %]
[% END -%]
___cvsignore___
blib*
Makefile
Makefile.old
Build
_build*
pm_to_blib*
*.tar.gz
.lwpcookies
.releaserc
[%self.distro%]-*
cover_db
|