NAME

Template::Plugin::Handel::Constants - Template Toolkit plugin for constants

SYNOPSIS

[% USE hdl = Handel.Constants %]
[% hdl.CART_TYPE_SAVED %]

or

[% USE Handel.Constants %]
[% Handel.Constants.CART_TYPE_SAVED %]

DESCRIPTION

Template::Plugin::Handel::Constants is a TT2 (Template Toolkit 2) plugin to access Handel::Constants inside of TT2 pages.

It contains all of the exportable constants declared in @Handel::Constants::EXPORT_OK.

CONSTRUCTOR

new

This returns a new Handel.Constants object. This is used internally when loading TT2 plugins and should not be used directly.

METHODS

load

This method is called when TT2 loaded the plugin for the first time. This is used internally by TT2 and should not be used directly.

SEE ALSO

Handel::Constants, Template::Plugin

AUTHOR

Christopher H. Laco
CPAN ID: CLACO
claco@chrislaco.com
http://today.icantfocus.com/blog/