- SEE ALSO
- COPYRIGHT AND LICENSE
Escape::Houdini - Perl API to Houdini, a zero-dependency C web escaping library
use Escape::Houdini ':all'; my $escaped = escape_html( '<foo>' ); # $escaped is now '<foo>'
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).
escape_html( $text )
unescape_html( $text )
escape_xml( $text )
escape_uri( $text )
unescape_uri( $text )
escape_url( $text )
unescape_url( $text )
escape_href( $text )
escape_js( $text )
unescape_js( $text )
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).
Houdini (natch) - https://github.com/vmg/houdini
Yanick Champoux <firstname.lastname@example.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.