NAME
App::TemplateCMD::Templates - Default templates for templatecmd to use.
VERSION
This documentation refers to App::TemplateCMD::Templates version 0.1.0.
SYNOPSIS
use Template;
use Template::Provider::FromDATA;
use App::TemplateCMD::Templates;
# Get the template provider
my $provider = Template::Provider::FromDATA->new({
CLASSES => 'App::TemplateCMD::Templates',
});
# Create the new template object
my $template = Template->new({
LOAD_TEMPLATES => [$provider],
});
# use the templates as desired
DESCRIPTION
This module exists to provide the default templates for App::TemplateCMD
Templates
templates/css.css
templates/html.html
templates/licence.txt
templates/perl.pl
templates/php.php
templates/xhtml.html
templates/build/module
templates/css/file.css
templates/db/table.sql
templates/html/form.html
templates/html/script.html
templates/html/style.html
templates/html/table.html
templates/javadoc/file.tmpl
templates/javadoc/fn.tmpl
templates/javadoc/function.tmpl
templates/js/class.js
templates/js/func.js
templates/js/method.js
templates/licence/gpl.txt
templates/licence/lgpl.txt
templates/licence/perl.txt
templates/perl/AUTOLOAD.pl
templates/perl/exception.pl
templates/perl/find.pl
templates/perl/if.pl
templates/perl/package.pm
templates/perl/pod.pl
templates/perl/simple.pl
templates/perl/sub.pl
templates/perl/test.pl
templates/perl/timer.pl
templates/php/class.php
templates/w3c/xml.xml
templates/xml/cdata.xml
templates/db/table/dia.sql
templates/html/script/jquery.html
templates/js/func/object.js
templates/js/jdoc/class.js
templates/js/jdoc/func.js
templates/js/jdoc/params.js
templates/perl/exception/base.pl
templates/perl/package/Build.PL
templates/perl/package/Changes
templates/perl/package/LICENSE
templates/perl/package/MANIFEST
templates/perl/package/MANIFEST.SKIP
templates/perl/package/README
templates/perl/package/dia.pm
templates/perl/package/gtk2.pl
templates/perl/pod/DESCRIPTION.pl
templates/perl/pod/METHODS.pl
templates/perl/pod/NAME.pl
templates/perl/pod/SYNOPSIS.pl
templates/perl/pod/USAGE.pl
templates/perl/pod/VERSION.pl
templates/perl/pod/detailed.pl
templates/perl/pod/package.pl
templates/perl/sub/class.pl
templates/perl/sub/method.pl
templates/perl/sub/object.pl
templates/perl/test/00-load.t
templates/perl/test/boilerplate.t
templates/perl/test/critic.t
templates/perl/test/dia.t
templates/perl/test/kwalitee.t
templates/perl/test/pod-coverage.t
templates/perl/test/pod.t
templates/perl/test/spelling.t
templates/w3c/dtd/xhtml+mathml+svg
templates/w3c/dtd/HTML/2.0
templates/w3c/dtd/HTML/3.2
templates/w3c/dtd/MathML/1.01
templates/w3c/dtd/MathML/2.0
templates/w3c/dtd/SVG/1.0
templates/w3c/dtd/HTML/4.01/frameset
templates/w3c/dtd/HTML/4.01/strict
templates/w3c/dtd/HTML/4.01/transitional
templates/w3c/dtd/SVG/1.1/basic
templates/w3c/dtd/SVG/1.1/full
templates/w3c/dtd/SVG/1.1/tiny
templates/w3c/dtd/XHTML/1.0/basic
templates/w3c/dtd/XHTML/1.0/frameset
templates/w3c/dtd/XHTML/1.0/strict
templates/w3c/dtd/XHTML/1.0/transitional
templates/w3c/dtd/XHTML/1.1/basic
templates/w3c/dtd/XHTML/1.1/dtd
SUBROUTINES/METHODS
get_data ()
Returns the DATA file handle for this module
DIAGNOSTICS
CONFIGURATION AND ENVIRONMENT
DEPENDENCIES
INCOMPATIBILITIES
BUGS AND LIMITATIONS
There are no known bugs in this module.
Please report problems to Ivan Wills (ivan.wills@gmail.com).
Patches are welcome.
AUTHOR
Ivan Wills - (ivan.wills@gmail.com)
LICENSE AND COPYRIGHT
Copyright (c) 2009 Ivan Wills (14 Mullion Close, NSW, Australia 2077). All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
NAME
[% file %] - <One-line description of commands purpose>
[% INCLUDE perl/pod/VERSION.pl %] [% INCLUDE perl/pod/USAGE.pl %] [% INCLUDE perl/pod/DESCRIPTION.pl %] [% INCLUDE perl/pod/METHODS.pl %] [% INCLUDE perl/pod/detailed.pl %] =head1 AUTHOR
[% contact.fullname %] - ([% contact.email %])
LICENSE AND COPYRIGHT [% INCLUDE licence.txt %]
NAME
[% module %] - <One-line description of module's purpose>
[% INCLUDE perl/pod/VERSION.pl %] [% INCLUDE perl/pod/SYNOPSIS.pl %] [% INCLUDE perl/pod/DESCRIPTION.pl %] [% INCLUDE perl/pod/METHODS.pl %] [% INCLUDE perl/pod/detailed.pl %] =head1 AUTHOR
[% contact.fullname %] - ([% contact.email %]) <Author name(s)> (<contact address>)
LICENSE AND COPYRIGHT [% INCLUDE licence.txt %]
NAME
[% module %] - <One-line description of module's purpose>
[% 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 %]) <Author name(s)> (<contact address>)
LICENSE AND COPYRIGHT [% INCLUDE licence.txt %]
[% sub || 'sub' %] ( [% FOREACH var = vars %]$[% var %],[% END %] )
[% FOREACH var = vars %] Param: $[% var %]
- type (detail) - description [% END -%]
Return: [% return %] -
Description:
NAME
[% module %] - <One-line description of module's purpose>
[% INCLUDE perl/pod/VERSION.pl %] [% INCLUDE perl/pod/SYNOPSIS.pl %] [% INCLUDE perl/pod/DESCRIPTION.pl %] [% INCLUDE perl/pod/METHODS.pl %] [% INCLUDE perl/pod/detailed.pl %] =head1 AUTHOR
[% contact.fullname %] - ([% contact.email %]) <Author name(s)> (<contact address>)
LICENSE AND COPYRIGHT [% INCLUDE licence.txt %]
NAME
[% module %] - <One-line description of module's purpose>
[% INCLUDE perl/pod/VERSION.pl %] [% INCLUDE perl/pod/SYNOPSIS.pl %] [% INCLUDE perl/pod/DESCRIPTION.pl %] [% INCLUDE perl/pod/METHODS.pl %]
[% FOREACH sig = sigs %] [%- matches = sig.match('^,?(\w+)[(](.*)$') -%] =head3 [% matches.0 %] ([% matches.1.split(',').join(', ') %])
[% FOREACH arg = matches.1.split(',') %] Arg: [% arg %]
- type (detail) - description [% END %] Return: type - description
Description:
[% END %]
[% INCLUDE perl/pod/detailed.pl %] =head1 AUTHOR
[% contact.fullname %] - ([% contact.email %]) <Author name(s)> (<contact address>)
LICENSE AND COPYRIGHT [% INCLUDE licence.txt %]
NAME
[% module %] - <One-line description of module's purpose>
[% INCLUDE perl/pod/VERSION.pl %] [% INCLUDE perl/pod/SYNOPSIS.pl %] [% INCLUDE perl/pod/DESCRIPTION.pl %] [% INCLUDE perl/pod/METHODS.pl %] [% INCLUDE perl/pod/detailed.pl %] =head1 AUTHOR
[% contact.fullname %] - ([% contact.email %]) <Author name(s)> (<contact address>)
LICENSE AND COPYRIGHT [% INCLUDE licence.pl %]
DESCRIPTION
A full description of the module and its features.
May include numerous subsections (i.e., =head2, =head3, etc.). __perl/pod/METHODS.pl__
SUBROUTINES/METHODS
A separate section listing the public components of the module's interface.
These normally consist of either subroutines that may be exported, or methods that may be called on objects belonging to the classes that the module provides.
Name the section accordingly.
In an object-oriented module, this section should begin with a sentence (of the form "An object of this class represents ...") to give the reader a high-level context to help them understand the methods that are subsequently described. __perl/pod/NAME.pl__
__perl/pod/SYNOPSIS.pl__
SYNOPSIS
use [% module %];
# Brief but working code example(s) here showing the most common usage(s)
# This section will be as far as many users bother reading, so make it as
# educational and exemplary as possible.
__perl/pod/USAGE.pl__
=head1 SYNOPSIS
[% module %] [option]
OPTIONS:
-o --other other option
-v --verbose Show more detailed option
--version Prints the version information
--help Prints this help information
--man Prints the full documentation for [% module %]
__perl/pod/VERSION.pl__ =head1 VERSION
This documentation refers to [% module %] version 0.1. __perl/pod/detailed.pl__ =head1 DIAGNOSTICS
A list of every error and warning message that the module can generate (even the ones that will "never happen"), with a full explanation of each problem, one or more likely causes, and any suggested remedies.
CONFIGURATION AND ENVIRONMENT
A full explanation of any configuration system(s) used by the module, including the names and locations of any configuration files, and the meaning of any environment variables or properties that can be set. These descriptions must also include details of any configuration language used.
DEPENDENCIES
A list of all of the other modules that this module relies upon, including any restrictions on versions, and an indication of whether these required modules are part of the standard Perl distribution, part of the module's distribution, or must be installed separately.
INCOMPATIBILITIES
A list of any modules that this module cannot be used in conjunction with. This may be due to name conflicts in the interface, or competition for system or program resources, or due to internal limitations of Perl (for example, many modules that use source code filters are mutually incompatible).
BUGS AND LIMITATIONS
A list of known problems with the module, together with some indication of whether they are likely to be fixed in an upcoming release.
Also, a list of restrictions on the features the module does provide: data types that cannot be handled, performance issues and the circumstances in which they may arise, practical limitations on the size of data sets, special cases that are not (yet) handled, etc.
The initial template usually just has:
There are no known bugs in this module.
Please report problems to [% contact.fullname %] ([% contact.email %]).
Patches are welcome. __perl/pod/package.pl__ [% IF not vars %][% vars = [ 'search' ] %][% END -%] [% IF not module %][% module = 'Module::Name' %][% END -%] =head1 NAME
[% module %] - <One-line description of module's purpose>
[% INCLUDE perl/pod/VERSION.pl %] [% INCLUDE perl/pod/SYNOPSIS.pl %] [% INCLUDE perl/pod/DESCRIPTION.pl %] [% INCLUDE perl/pod/METHODS.pl %]
AUTHOR
[% contact.fullname %] - ([% contact.email %])