$escaped = escapeHTML('In HTML you need to escape < > " and & chars');
$unescaped = unescapeHTML('<>"&');
$url_encoded = escape($string);
$decoded = unescape($url_encoded);
DESCRIPTIONCGI::Simple::Util contains essentially non public subroutines used by CGI::Simple. There are HTML and URL escape and unescape routines that may be of some use.
An internal object is used to store a number of system specific details to enable the escape routines to be accurate.
AUTHOR INFORMATIONOriginal version copyright 1995-1998, Lincoln D. Stein. All rights reserved. Originally copyright 2001 Dr James Freeman <[email protected]> This release by Andy Armstrong <[email protected]>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Address bug reports and comments to: [email protected]