The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Search results for "module:Text::MicroMason"

Text::MicroMason - Simple and Extensible Templating River stage one • 6 direct dependents • 6 total dependents

Text::MicroMason interpolates blocks of Perl code embedded into text strings. Each MicroMason object acts as a "template compiler," which converts templates from text-with-embedded-code formats into ready-to-execute Perl subroutines. MicroMason Initi...

FERRENCY/Text-MicroMason-2.23 - 27 Jun 2019 21:37:01 UTC

Text::MicroMason::PLP - Alternate Syntax like PLP Templates River stage one • 6 direct dependents • 6 total dependents

This subclass replaces MicroMason's normal lexer with one that supports a syntax similar to that provided by the PLP module. Compatibility with PLP PLP is a web-oriented system with many fatures, of which only the templating functionality is emulated...

FERRENCY/Text-MicroMason-2.23 - 27 Jun 2019 21:37:01 UTC

Text::MicroMason::Base - Abstract Template Compiler River stage one • 6 direct dependents • 6 total dependents

Text::MicroMason::Base is an abstract superclass that provides a parser and execution environment for an extensible templating system. Public Methods new() $mason = Text::MicroMason::Base->new( -Mixin1, -Mixin2, %attribs ); Creates a new Text::MicroM...

FERRENCY/Text-MicroMason-2.23 - 27 Jun 2019 21:37:01 UTC

Text::MicroMason::Safe - Compile all Templates in a Safe Compartment River stage one • 6 direct dependents • 6 total dependents

This package adds support for Safe compartments to MicroMason, allowing you to restrict the operations that a template can perform. By default, these safe calls prevent the code in a template from performing any system activity or accessing any of yo...

FERRENCY/Text-MicroMason-2.23 - 27 Jun 2019 21:37:01 UTC

Text::MicroMason::Debug - Provide developer info via warn River stage one • 6 direct dependents • 6 total dependents

This package provides numerous messages via warn for developer use when debugging templates built with Text::MicroMason. Supported Attributes debug Activates debugging messages for many methods. Defaults to logging everything. Can be set to 0 or 1 to...

FERRENCY/Text-MicroMason-2.23 - 27 Jun 2019 21:37:01 UTC

Text::MicroMason::Sprintf - Formatted Interpolation Engine River stage one • 6 direct dependents • 6 total dependents

Text::MicroMason::Sprintf uses Perl's sprintf formatting syntax for templating. Of course you don't need this module for simple cases of interpolation, but if you're already using the MicroMason framework to process template files from disk, this mod...

FERRENCY/Text-MicroMason-2.23 - 27 Jun 2019 21:37:01 UTC

Text::MicroMason::Filters - Add Output Filters like "|h" and "|u" River stage one • 6 direct dependents • 6 total dependents

This module enables the filtering of expressions before they are output, using syntax similar to that available in HTML::Mason v1. Several filter functions come standard with Text::MicroMason. If HTML::Entities available, the "h" filter is set up to ...

FERRENCY/Text-MicroMason-2.23 - 27 Jun 2019 21:37:01 UTC

Text::MicroMason::Embperl - Alternate Syntax like Embperl Templates River stage one • 6 direct dependents • 6 total dependents

This subclass replaces MicroMason's normal lexer with one that supports a syntax similar to Embperl. Compatibility with Embperl Embperl is a full-featured application server toolkit with many fatures, of which only the templating functionality is emu...

FERRENCY/Text-MicroMason-2.23 - 27 Jun 2019 21:37:01 UTC

Tiffany::Text::MicroMason - Tiffany gateway for Text::MicroMason River stage one • 4 direct dependents • 6 total dependents

TOKUHIROM/Tiffany-1.01 - 04 Sep 2013 02:50:26 UTC

Text::MicroMason::StoreOne - mixin class intended for use with Text::MicroMason::Base River stage one • 6 direct dependents • 6 total dependents

This mixin class ... Public Methods compile() Caches a reference to the most-recently compiled subroutine in the Mason object. execute_again() Executes the most-recently compiled template and returns the results. Optionally accepts a filehandle to pr...

FERRENCY/Text-MicroMason-2.23 - 27 Jun 2019 21:37:01 UTC

Text::MicroMason::HTMLMason - Simple Compiler for Mason-style Templating River stage one • 6 direct dependents • 6 total dependents

The Text::MicroMason::HTMLMason class provides lexer and assembler methods that allow Text::MicroMason to handle most elements of HTML::Mason's template syntax. Compatibility with HTML::Mason HTML::Mason is a full-featured application server toolkit ...

FERRENCY/Text-MicroMason-2.23 - 27 Jun 2019 21:37:01 UTC

Text::MicroMason::HasParams - mixin class intended for use with Text::MicroMason::Base River stage one • 6 direct dependents • 6 total dependents

This mixin class ... ' =head2 Public Methods param() Gets and sets parameter arguments. Similar to the param() method provied by HTML::Template and the CGI module. Private Methods assembler_rules() Adds initialization for param() at the beginning of ...

FERRENCY/Text-MicroMason-2.23 - 27 Jun 2019 21:37:01 UTC

Text::MicroMason::Functions - Function Exporter for Simple Mason Templates River stage one • 6 direct dependents • 6 total dependents

As an alternative to the object-oriented interface, text containing MicroMason markup code can be compiled and executed by calling the following functions. Please note that this interface is maintained primarily for backward compatibility with versio...

FERRENCY/Text-MicroMason-2.23 - 27 Jun 2019 21:37:01 UTC

Text::MicroMason::ServerPages - Alternate Syntax like ASP/JSP Templates River stage one • 6 direct dependents • 6 total dependents

This subclass replaces MicroMason's normal lexer with one that supports a syntax similar to Active Server Pages and Java Server Pages. Compatibility with Apache::ASP Apache::ASP is a full-featured application server toolkit with many fatures, of whic...

FERRENCY/Text-MicroMason-2.23 - 27 Jun 2019 21:37:01 UTC

Text::MicroMason::CatchErrors - Add Exception Catching for Templates River stage one • 6 direct dependents • 6 total dependents

This package adds exception catching to MicroMason, allowing you to check an error variable rather than wrapping every call in an eval. Both compilation and run-time errors in your template are handled as fatal exceptions. The base MicroMason class w...

FERRENCY/Text-MicroMason-2.23 - 27 Jun 2019 21:37:01 UTC

Text::MicroMason::DoubleQuote - Minimalist Interpolation Engine River stage one • 6 direct dependents • 6 total dependents

Text::MicroMason::DoubleQuote uses Perl's double-quoting interpolation as a minimalist syntax for templating. Of course you don't need this module for simple cases of interpolation, but if you're already using the MicroMason framework to process temp...

FERRENCY/Text-MicroMason-2.23 - 27 Jun 2019 21:37:01 UTC

Text::MicroMason::TemplateDir - Use Base Directory and Relative Paths River stage one • 6 direct dependents • 6 total dependents

This module changes the resolution of files passed to compile() and execute() to be relative to a base directory path or to the currently executing template. Supported Attributes template_root Base directory from which to find templates. strict_root ...

FERRENCY/Text-MicroMason-2.23 - 27 Jun 2019 21:37:01 UTC

Text::MicroMason::LineNumbers - Report errors at correct source code line numbers River stage one • 6 direct dependents • 6 total dependents

This mixin class associates each token in a template with the line number on which it was found, and then inserts special comments in the generated Perl code that preserve that original source file and line number information. This should facilitate ...

FERRENCY/Text-MicroMason-2.23 - 27 Jun 2019 21:37:01 UTC

Text::MicroMason::Cache::Null - Trivial Cache with No Data Storage River stage one • 6 direct dependents • 6 total dependents

This trivial cache class supports the cache interface but doesn't store or retrieve any values. Public Methods new() $cache = Text::MicroMason::Cache::Null->new(); get() undef = $cache->get( $key ); Does nothing. set() $cache->set( $key, $value ); Re...

FERRENCY/Text-MicroMason-2.23 - 27 Jun 2019 21:37:01 UTC

Text::MicroMason::PostProcess - Apply Filters to All Template Output River stage one • 6 direct dependents • 6 total dependents

This mixin class adds filtering of all template output to any MicroMason class. Filter functions can accept the string to be output and return a filtered version: $mason->post_process( sub { my $foo = shift; $foo =~ s/a-Z/A-Z/; return $foo; } ); If a...

FERRENCY/Text-MicroMason-2.23 - 27 Jun 2019 21:37:01 UTC
36 results (0.027 seconds)