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

NAME

Escape::Houdini - Perl API to Houdini, a zero-dependency C web escaping library

VERSION

version 0.1.4

SYNOPSIS

    use Escape::Houdini ':all';

    my $escaped = escape_html( '<foo>' );
    # $escaped is now '&lt;foo&gt;'

DESCRIPTION

Escape::Houdini is a wrapper around the zero-depedency, minimalistic web escaping C library Houdini.

This version of Escape::Houdini has been built against commit e6f0ec96b85578a2fd8ab79af84493cad3a84cfb (Wed Apr 17 17:24:20 2013 +0200) of Houdini, plus a mini-patch from your truly (see https://github.com/vmg/houdini/pull/13).

FUNCTIONS

escape_html( $text )

See https://github.com/vmg/houdini

unescape_html( $text )

See https://github.com/vmg/houdini

escape_xml( $text )

See https://github.com/vmg/houdini

escape_uri( $text )

See https://github.com/vmg/houdini

unescape_uri( $text )

See https://github.com/vmg/houdini

escape_url( $text )

See https://github.com/vmg/houdini

unescape_url( $text )

See https://github.com/vmg/houdini

escape_href( $text )

See https://github.com/vmg/houdini

escape_js( $text )

See https://github.com/vmg/houdini

unescape_js( $text )

See https://github.com/vmg/houdini

EXPORTS

Escape::Houdini doesn't export any function by default. Functions can be exported individually, or via the tags :html (for escape_html and unescape_html), :uri (for escape_uri and unescape_uri), :url (for escape_url and unescape_url), :js (for escape_js and unescape_js) and :all (for... well, all of them).

SEE ALSO

Houdini (natch) - https://github.com/vmg/houdini

AUTHOR

Yanick Champoux <yanick@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Yanick Champoux.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.