Text::Xslate::Util - A set of utilities for Xslate
This module provides utilities for Xslate.
mark_raw($str)
This is the entity of the mark_raw filter.
mark_raw
unmark_raw($str)
This is the entity of the unmark_raw filter.
unmark_raw
html_escape($str)
This is the entity of the html_escape filter.
html_escape
uri_escape($str)
This is the entity of the uri filter.
uri
p($any)
dump($any)
Displays the contents of $any using Data::Dumper.
Data::Dumper
This is the entity of the dump filter, useful for debugging.
dump
html_builder { block } | \&function :CodeRef
Wraps &function with mark_raw so that the new subroutine returns a raw string.
This function is the same as what Text::Xslate exports.
hash_with_default \%hash, $default :Any
Set a default value $default to %hash and returns a HashRef.
This is provided for debugging.
Text::Xslate
To install Text::Xslate, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Xslate
CPAN shell
perl -MCPAN -e shell install Text::Xslate
For more information on module installation, please visit the detailed CPAN module installation guide.