1CGI::Simple::Util(3) User Contributed Perl Documentation CGI::Simple::Util(3)
2
3
4
6 CGI::Simple::Util - Internal utilities used by CGI::Simple module
7
9 $escaped = escapeHTML('In HTML you need to escape < > " and & chars');
10 $unescaped = unescapeHTML('<>"&');
11 $url_encoded = escape($string);
12 $decoded = unescape($url_encoded);
13
15 CGI::Simple::Util contains essentially non public subroutines used by
16 CGI::Simple. There are HTML and URL escape and unescape routines that
17 may be of some use.
18
19 An internal object is used to store a number of system specific details
20 to enable the escape routines to be accurate.
21
23 Original version copyright 1995-1998, Lincoln D. Stein. All rights
24 reserved. Originally copyright 2001 Dr James Freeman
25 <jfreeman@tassie.net.au> This release by Andy Armstrong
26 <andy@hexten.net>
27
28 This library is free software; you can redistribute it and/or modify it
29 under the same terms as Perl itself.
30
31 Address bug reports and comments to: andy@hexten.net
32
34 CGI::Simple
35
36
37
38perl v5.32.0 2020-07-28 CGI::Simple::Util(3)