debian man page for html::template::compiled::utils

Query: html::template::compiled::utils

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

HTML::Template::Compiled::Utils(3pm)			User Contributed Perl Documentation		      HTML::Template::Compiled::Utils(3pm)

NAME
HTML::Template::Compiled::Utils - Utility functions for HTML::Template::Compiled
SYNOPSIS
# import log() and stack() use HTML::Template::Compiled::Utils qw(:log); # import the escapign functions use HTML::Template::Compiled::Utils qw(:escape);
DEBUGGING FUNCTIONS
stack $self->stack; For HTML::Template:Compiled developers, prints a stack trace to STDERR. md5 md5($text) If Digest::MD5 is installed, returns the md5_base64 for $text, otherwise returns the empty string. log $self->log(@msg) For HTML::Template::Compiled developers, print log from @msg to STDERR.
ESCAPING FUNCTIONS
escape_html my $escaped_html = escape_html($raw_html); HTML-escapes the input string (only &, ", single quotes, "<" and ""> and returns it; escape_html_all my $escaped_html = escape_html_all($raw_html); HTML-escapes the input string (with HTML::Entities) and returns it; escape_uri my $escaped_uri = escape_uri($raw_uri); URI-escapes the input string and returns it; escape_js my $escaped_js = escape_js($raw_js); JavaScript-escapes the input string and returns it; escape_ijson my $escaped_js = escape_ijson($raw_js); JavaScript-escapes the input string except for the apostrophe and returns it, so it can be used within a JSON element. perl v5.14.2 2012-05-26 HTML::Template::Compiled::Utils(3pm)
Related Man Pages
html::template::jit::base(3) - suse
html::template::jit::compiler(3) - suse
template::plugin::html(3) - centos
html::template::compiled::utils(3pm) - debian
template::declare::tagset::rdf(3pm) - debian
Similar Topics in the Unix Linux Community
Need to capture ERROR msg and stack trace
log4javascript 1.4 (Default branch)
Help with passing HTML values in to JavaScript
Grep Options
grep with date &amp; unique output