Template::Quick - A simple Template System
use Template::Quick; $temp = new Template::Quick( {path => "./", template => "template.html"}); @data = (
{name => 'Header'},
{name => 'link', text => "Website", href => "http://lindnerei.de"},
{name => 'link', text => "Cpan", href => "http://search.cpan.org~lze"},
{name => 'Footer'}
); print $temp->initArray(\@data); template.html: [Header] A simple text.<br/> [/Header] [link] <a href="[href/]">[text/]</a> [/link] [Footer] <br/>example by [tr=firstname/] Dirk [tr=name/] Lindner [/Footer]
see SYNOPSIS
%template = ( path => "path", style => "style", #defualt is lze template => "index.html", ); initTemplate(\%template);
see initTemplate
appendHash(\%hash);
Dirk Lindner <lze@cpan.org>
Copyright (C) 2008 by Hr. Dirk Lindner
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; 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. See the GNU Lesser General Public License for more details.
To install MySQL::Admin, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MySQL::Admin
CPAN shell
perl -MCPAN -e shell install MySQL::Admin
For more information on module installation, please visit the detailed CPAN module installation guide.