1Simple::Util(3) User Contributed Perl Documentation Simple::Util(3)
2
3
4
6 CGI::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.
25
26 This version copyright 2001, Dr James Freeman.
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: jfreeman@tassie.net.au
32
34 CGI::Simple
35
36
37
38perl v5.8.8 2004-11-22 Simple::Util(3)