Text::MicroMason::Mason 1.96.0
Sponsored Links
Text::MicroMason::Mason 1.96.0 Ranking & Summary
File size:
0.046 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
806
Date added:
2007-08-09
Publisher:
Matthew Simon Cavalletto
Text::MicroMason::Mason 1.96.0 description
Text::MicroMason::Mason is a simple compiler for Mason-style Templating.
SYNOPSIS
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 >
Create a Mason object to interpret the templates:
use Text::MicroMason;
my $mason = Text::MicroMason->new();
You can compile and execute templates using the standard MicroMason methods:
$coderef = $mason->compile( file => simple.tmpl );
print $coderef->( %arguments );
print $mason->execute( file => simple.tmpl, %arguments );
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
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 >
Create a Mason object to interpret the templates:
use Text::MicroMason;
my $mason = Text::MicroMason->new();
You can compile and execute templates using the standard MicroMason methods:
$coderef = $mason->compile( file => simple.tmpl );
print $coderef->( %arguments );
print $mason->execute( file => simple.tmpl, %arguments );
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::Mason 1.96.0 Screenshot
Advertisements
Text::MicroMason::Mason 1.96.0 Keywords
MicroMason
Mason 1.96.0
Templating
simple
name
compiler
Text::MicroMason::Mason
TextMicroMasonMason
Text::MicroMason::Mason 1.96.0
Libraries
Programming
Bookmark Text::MicroMason::Mason 1.96.0
Text::MicroMason::Mason 1.96.0 Copyright
WareSeeker periodically updates pricing and software information of Text::MicroMason::Mason 1.96.0 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::Mason 1.96.0 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::HTMLMason 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
Mason is a tool that interactively builds a firewall using Linux ipfwadm or ipchains firewalling. Free Download
HTML::Mason is a powerful Perl-based web site development and delivery engine. Free Download
Text::Emoticon::GoogleTalk is a Perl module emoticon filter of GoogleTalk. Free Download
Text::Scraper contains structured data from (un)structured text. Free Download
CD-Mason is a GTK+ gui for cdrecord and mkisofs aimed at being easy to use for inexeperienced users. Free Download
Latest Software
Popular Software
Favourite Software