HTML-DWT-Simple
view release on metacpan or search on metacpan
$template = new HTML::DWT::Simple(filename => "file.dwt");
%dataHash = (
doctitle => 'DWT Generated',
leftcont => 'some HTML content here'
);
$template->param(%dataHash);
$html = $template->output();
DESCRIPTION
A perl module designed to parse a simple HTML template file generated by
Macromedia Dreamweaver and replace fields in the template with values
from a CGI script.
METHODS
new()
new HTML::DWT("file.dwt");
new HTML::DWT(
filename => "file.dwt",
associate => $q,
#############################################################
# HTML::DWT::Simple
# Whyte.Wolf DreamWeaver HTML Template Module (Simple)
# Version 1.02
#
# Copyright (c) 2002 by S.D. Campbell <whytwolf@spots.ab.ca>
#
# Created 13 March 2002, Modified 05 April 2002
#
# A perl module designed to parse a simple HTML template file
# generated by Macromedia Dreamweaver and replace fields in the
# template with values from a CGI script.
#
#############################################################
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
%dataHash = (
doctitle => 'DWT Generated',
leftcont => 'some HTML content here'
);
$template->param(%dataHash);
$html = $template->output();
=head1 DESCRIPTION
A perl module designed to parse a simple HTML template file
generated by Macromedia Dreamweaver and replace fields in the
template with values from a CGI script.
=head1 METHODS
=head2 new()
new HTML::DWT("file.dwt");
new HTML::DWT(
filename => "file.dwt",
( run in 0.443 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )