NAME
Decl::DefaultFilters - implements some default filters for the Decl language.
VERSION
Version 0.01
SYNOPSIS
This isn't really an object module; it's just a place to register the default filters.
DEFAULT FILTERS
hex_filter()
Called with a string containing hex digits, packs them by pairs into a binary string.
urlencode, urldecode
I considered just defining these in HTML::Declarative, but heck, they're useful for testing and not so big.
I considered CPAN's URI::Encode - but I didn't want another dependency for such a small amount of code.
Source: http://code.activestate.com/recipes/577450-perl-url-encode-and-decode/
init_default_filters()
Called on initialization of the Decl module.
AUTHOR
Michael Roberts, <michael at vivtek.com>
BUGS
Please report any bugs or feature requests to bug-decl at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Decl. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
LICENSE AND COPYRIGHT
Copyright 2011 Michael Roberts.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.