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


Manual Reference Pages  -  TEXT::XSLATE::UTIL (3)

.ds Aq ’

NAME

Text::Xslate::Util - A set of utilities for Xslate

CONTENTS

SYNOPSIS



    use Text::Xslate::Util qw(
        mark_raw
        unmark_raw
        html_escape
        uri_escape
        p
        html_builder
        hash_with_default
    );



DESCRIPTION

This module provides utilities for Xslate.

INTERFACE

    Exportable functions

mark_raw($str)

This is the entity of the mark_raw filter.

unmark_raw($str)

This is the entity of the unmark_raw filter.

html_escape($str)

This is the entity of the html_escape filter.

uri_escape($str)

This is the entity of the uri filter.

p($any) / dump($any)

Displays the contents of $any using Data::Dumper.

This is the entity of the dump filter, useful for debugging.

html_builder { block } | \&function :CodeRef

Wraps a block or &function with mark_raw so that the new subroutine will return 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.

SEE ALSO

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


perl v5.20.3 TEXT::XSLATE::UTIL (3) 2015-08-28

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