HTML::Template::Extension::DOC

HTML::Template::Extension::DOC are plugins for comments in template.
Download

HTML::Template::Extension::DOC Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Bruni Emiliano
  • Publisher web site:
  • http://search.cpan.org/~ebruni/

HTML::Template::Extension::DOC Tags


HTML::Template::Extension::DOC Description

HTML::Template::Extension::DOC are plugins for comments in template. HTML::Template::Extension::DOC are plugins for comments in template.SYNOPSIS use HTML::Template::Extension; my $text = qq | < HTML >< HEAD >< /HEAD >< BODY > < H1 >This is a template example...< /H1 > < TMPL_DOC >An example use of TMPL_DOC tag < /TMPL_DOC > The sum between 1+1 is: < TMPL_VAR NAME="result" > < /BODY >< /HTML > |; my $comp = new HTML::Template::Extension( scalarref => $text, plugins=>, ); $comp->param('result' => 1+1); print $comp->output; # OUTPUT: # # < HTML >< HEAD >< /HEAD >< BODY > # < H1 >This is a template example...< /H1 > # The sum between 1+1 is: 2 # < /BODY >< /HTML >DOC plugin add a < TMPL_DOC >some comments< /TMPL_DOC > to standard HTML::Template syntax to permit to add comments to template that, for indeed, a web graphic designer can view in a WYSIWYG environment.All text between < TMPL_DOC > and < /TMPL_DOC > and tag itself will be deleted before HTML::Template parsing and retuning template output.Requirements:· Perl Requirements: · Perl


HTML::Template::Extension::DOC Related Software