Template::Library::Splash 2.15 review

Download
by rbytes.net on

Template::Library::Splash is a template library for building stylish HTML user interfaces. NOTE: This documentation is incomplete,

License: Perl Artistic License
File size: 760K
Developer: Andy Wardley
0 stars award from rbytes.net

Template::Library::Splash is a template library for building stylish HTML user interfaces.

NOTE: This documentation is incomplete, incorrect and outdated. The Splash! library is still evolving and subject to change. See the examples for a much more recent and accurate demonstration of use.

Introduction:

The 'Splash' template library is distributed as part of the Template Toolkit. It can be found in the 'templates' sub-directory of the installation directory.

/your/tt2/installation
|
+-- docs
| ...
|
+-- images
| ...
|
+-- examples
| ...
|
+-- templates
|
+-- html
| ...
+-- pod
| ...
+-- splash instdir() class method.
use Template;

my $tt2 = Template->new({
INCLUDE_PATH => Template::Config->instdir('templates'),
});
Note that you should set the INCLUDE_PATH to the 'templates' directory as shown here and don't be tempted to set the INCLUDE_PATH to 'templates/splash'. Many of the Splash! components use elements in the 'html' directory and contain directives of the form:
[% INCLUDE html/something %].

Requirements:
Perl

Template::Library::Splash 2.15 keywords