CGI-WebToolkit
view release on metacpan or search on metacpan
lib/CGI/WebToolkit.pm view on Meta::CPAN
invocation, this even gets shorter:
my $string = FormDate(-month => '...', -year => '...');
In case you want the template from a specific theme, use this
syntax for the functional invocation:
my $string = Core_FormDate(-month => '...', -year => '...');
=head3 Template Macros
Template macros are a way of loading templates from within
templates.
For example, if you want to create a general piece of markup
that is considered "a box", you wish you were able to
keep this markup in one place and use it from anywhere else
in other templates. That is what these macros are for.
Example of a box markup:
( run in 0.486 second using v1.01-cache-2.11-cpan-49f99fa48dc )