GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

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

HTML::Template::Compiled::Utils - Utility functions for HTML::Template::Compiled

 # import log() and stack()
 use HTML::Template::Compiled::Utils qw(:log);

 # import the escapign functions
 use HTML::Template::Compiled::Utils qw(:escape);

    $self->stack;

For HTML::Template:Compiled developers, prints a stack trace to STDERR.

 md5($text)

If Digest::MD5 is installed, returns the md5_base64 for $text, otherwise returns the empty string.

 $self->log(@msg)

For HTML::Template::Compiled developers, print log from @msg to STDERR.

  my $escaped_html = escape_html($raw_html);

HTML-escapes the input string (only &, ", single quotes, "<" and ""> and returns it;

  my $escaped_html = escape_html_all($raw_html);

HTML-escapes the input string (with HTML::Entities) and returns it;

  my $escaped_uri = escape_uri($raw_uri);

URI-escapes the input string and returns it;

  my $escaped_js = escape_js($raw_js);

JavaScript-escapes the input string and returns it;

  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.

2016-05-03 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.