Text::MicroMason::HTMLMason 1.992
Sponsored Links
Text::MicroMason::HTMLMason 1.992 Ranking & Summary
File size:
0.068 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
810
Date added:
2007-08-09
Publisher:
Matthew Simon Cavalletto
Text::MicroMason::HTMLMason 1.992 description
Text::MicroMason::HTMLMason is a simple compiler for Mason-style Templating.
SYNOPSIS
Create a MicroMason object to interpret the templates:
use Text::MicroMason;
my $mason = Text::MicroMason->new();
Use the standard compile and execute methods to parse and evalute templates:
print $mason->compile( text=>$template )->( @%args );
print $mason->execute( text=>$template, @args );
Mason syntax provides several ways to mix Perl into a text template:
< %args >
$name
< /%args >
% if ( $name eq Dave ) {
Im sorry < % $name % >, Im afraid I cant do that right now.
% } else {
< %perl >
my $hour = (localtime)[2];
my $daypart = ( $hour > 11 ) ? afternoon : morning;
< /%perl >
Good < % $daypart % >, < % $name % >!
% }
< & "includes/standard_footer.msn" & >
< %doc >
Heres a private developr comment describing this template.
< /%doc >
Main features:
- Template interpolation with
- Literal Perl lines with leading %
- Named %args, %perl, %once, %init, %cleanup, and %doc blocks
- The $m mason object, although with many fewer methods
- Expression filtering with |h and |u (via -Filter mixin)
SYNOPSIS
Create a MicroMason object to interpret the templates:
use Text::MicroMason;
my $mason = Text::MicroMason->new();
Use the standard compile and execute methods to parse and evalute templates:
print $mason->compile( text=>$template )->( @%args );
print $mason->execute( text=>$template, @args );
Mason syntax provides several ways to mix Perl into a text template:
< %args >
$name
< /%args >
% if ( $name eq Dave ) {
Im sorry < % $name % >, Im afraid I cant do that right now.
% } else {
< %perl >
my $hour = (localtime)[2];
my $daypart = ( $hour > 11 ) ? afternoon : morning;
< /%perl >
Good < % $daypart % >, < % $name % >!
% }
< & "includes/standard_footer.msn" & >
< %doc >
Heres a private developr comment describing this template.
< /%doc >
Main features:
- Template interpolation with
- Literal Perl lines with leading %
- Named %args, %perl, %once, %init, %cleanup, and %doc blocks
- The $m mason object, although with many fewer methods
- Expression filtering with |h and |u (via -Filter mixin)
Text::MicroMason::HTMLMason 1.992 Screenshot
Advertisements
Text::MicroMason::HTMLMason 1.992 Keywords
MicroMason
HTMLMason
HTMLMason 1.992
Templating
template
simple
name
compiler
Text::MicroMason::HTMLMason
TextMicroMasonHTMLMason
Text::MicroMason::HTMLMason 1.992
Libraries
Programming
Bookmark Text::MicroMason::HTMLMason 1.992
Text::MicroMason::HTMLMason 1.992 Copyright
WareSeeker periodically updates pricing and software information of Text::MicroMason::HTMLMason 1.992 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::MicroMason::HTMLMason 1.992 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Text::MicroMason::Mason is a simple compiler for Mason-style Templating. Free Download
Text::MicroMason::Functions Perl module contains Function Exporter for Simple Mason Templates. Free Download
Text::MicroMason::ServerPages Perl module contains an alternate syntax like ASP/JSP Templates. Free Download
PEAR HTML_Template_IT is asimple template API. Free Download
Text::Scraper contains structured data from (un)structured text. Free Download
battery_monitor is a small battery monitoring program for Linux. Free Download
HTML::Template::Set is a HTML::Template extension that adds set support. Free Download
Text::Yats is Yet Another Template System. Free Download
Latest Software
Popular Software
Favourite Software