|
Sei in Home page » Prodotti » Opensource » CPAN » HTML::Template::Extension » Help on line |
|
|
NAMEHTML::Template::Extension::DO_NOTHING - Plugin that do nothing :-)
SYNOPSISuse HTML::Template::Extension;
my $text = qq
|
Standard module emulation
=========================
If all is ok you can read this here --> <TMPL_VAR NAME="test">
|;
# This is equivalent to # my $comp = new HTML::Template::Extension( # scalarref => \$text # );
my $comp = new HTML::Template::Extension(
scalarref => \$text,
plugins=>["DO_NOTHING"],
);
$comp->param('test' => "It works!!!");
print $comp->output;
# OUTPUT: # # Standard module emulation # ========================= # If all is ok you can read this here --> It works!!!
DESCRIPTIONThis plugin don't add anything to base class and loading it or not is the same. It's here so that you can use it to build your own extension to HTM::Template dictionary. If you develope something interesting, send me so that you can share your works with perl comunity.
AUTHORBruni Emiliano, <info@ebruni.it>
SEE ALSOHTML::Template HTML::Template::Extension::DO_NOTHING HTML::Template::Extension::SLASH_VAR HTML::Template::Extension::CSTART HTML::Template::Extension::DOC HTML::Template::Extension::HEAD_BODY |
|
||||||||||||||||||||||||||||||||||||||||||||||||
Commenti
| Copyright© 1997-2006 Emiliano Bruni | Online dal 16/08/1998 con
|
Scrivimi all'indirizzo:
|