Main > Programming > Libraries >

Text::ScriptTemplate 0.08

Text::ScriptTemplate 0.08

Sponsored Links

Text::ScriptTemplate 0.08 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.009 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 866
Date added: 2007-06-14
Publisher: Taisuke Yamada

Text::ScriptTemplate 0.08 description

Text::ScriptTemplate is a standalone ASP/JSP/PHP-style template processor.

SYNOPSIS

use Text::ScriptTemplate;

$text = <<EOF; # PHP/JSP/ASP-style template
< % for (1..3) { % > # - any Perl expression is supported
Message is: < %= $TEXT % >. # - also supports variable expansion
< % } % >
EOF

$tmpl = new Text::ScriptTemplate; # create processor object
$tmpl->setq(TEXT => "hello, world"); # export data to template

# load, fill, and print expanded result in single action
print $tmpl->pack($text)->fill;

This is a successor of Text::SimpleTemplate, a module for template- based text generation.

Template-based text generation is a way to separate program code and data, so non-programmer can control final result (like HTML) as desired without tweaking the program code itself. By doing so, jobs like website maintenance is much easier because you can leave program code unchanged even if page redesign was needed.

The idea of this module is simple. Whenever a block of text surrounded by (or any pair of delimiters you specify) is found, it will be taken as Perl expression, and will be handled specially by template processing engine. With this module, Perl script and text can be intermixed closely.

Major goal of this library is to provide support of powerful PHP-style template with smaller resource. This is useful when PHP, Java/JSP, or Apache::ASP is overkill, but their template style is still desired.

Text::ScriptTemplate 0.08 Screenshot

Advertisements

Text::ScriptTemplate 0.08 Keywords

Bookmark Text::ScriptTemplate 0.08

Hyperlink code:
Link for forum:

Text::ScriptTemplate 0.08 Copyright

WareSeeker periodically updates pricing and software information of Text::ScriptTemplate 0.08 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Text::ScriptTemplate 0.08 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Text::Replace is a Perl module to replace variables from a hash. Free Download
Text::Scraper contains structured data from (un)structured text. Free Download
HTML::CMTemplate.pm is a Perl module that can generate text-based content from templates. Free Download
Text::Template::Inline allows easy formatting of hierarchical data. Free Download
Text::Templar is a document-generation object class. Free Download
PerlPoint::Template::TT2 is a beta of a PerlPoint template processor for Template Toolkit 2 layouts. Free Download
Text::Yats is Yet Another Template System. Free Download
TemplAT is a general-purpose text-file template engine, designed to be used as an API from Java applications or servlets. Free Download