| 1 | package {{$name}}; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | =head1 NAME | ||
| 7 | |||
| 8 | {{$name}} - Module to do something | ||
| 9 | |||
| 10 | =head1 SYNOPSIS | ||
| 11 | |||
| 12 | use {{$name}}; | ||
| 13 | |||
| 14 | ... | ||
| 15 | |||
| 16 | =head1 DESCRIPTION | ||
| 17 | |||
| 18 | Some description here... | ||
| 19 | |||
| 20 | =head1 METHODS/SUBROUTINES | ||
| 21 | |||
| 22 | =head2 my_sub( $args ) | ||
| 23 | |||
| 24 | Subroutine to do something | ||
| 25 | |||
| 26 | =cut | ||
| 27 | |||
| 28 | sub my_sub { | ||
| 29 | |||
| 30 | ... | ||
| 31 | |||
| 32 | } | ||
| 33 | |||
| 34 | =head1 INTERNAL METHODS | ||
| 35 | |||
| 36 | =head2 _my_sub( $args ) | ||
| 37 | |||
| 38 | Subroutine to do something | ||
| 39 | |||
| 40 | =cut | ||
| 41 | |||
| 42 | sub _my_sub { | ||
| 43 | |||
| 44 | ... | ||
| 45 | |||
| 46 | } | ||
| 47 | |||
| 48 | =head1 AUTHOR | ||
| 49 | |||
| 50 | {{@{$dist->authors}[0]}} | ||
| 51 | |||
| 52 | =head1 LICENSE AND COPYRIGHT | ||
| 53 | |||
| 54 | Copyright {{(localtime)[5] + 1900}} {{$dist->copyright_holder}}. | ||
| 55 | |||
| 56 | This program is free software; you can redistribute it and/or modify it | ||
| 57 | under the terms of either: the GNU General Public License as published | ||
| 58 | by the Free Software Foundation; or the Artistic License. | ||
| 59 | |||
| 60 | See http://dev.perl.org/licenses/ for more information. | ||
| 61 | |||
| 62 | =cut | ||
| 63 | |||
| 64 | 1; # End of {{$name}} |