| Newsgroups |
perl.cvs.perlfaq |
| Message-ID |
<[email protected]> |
cvsuser 02/04/01 20:32:42
Modified: . perlfaq9.pod
Log:
* fix typo
Revision Changes Path
1.8 +2 -2 perlfaq/perlfaq9.pod
Index: perlfaq9.pod
===================================================================
RCS file: /home/perlcvs/perlfaq/perlfaq9.pod,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -w -r1.7 -r1.8
--- perlfaq9.pod 28 Jan 2002 04:17:27 -0000 1.7
+++ perlfaq9.pod 2 Apr 2002 04:32:42 -0000 1.8
@@ -1,6 +1,6 @@
=head1 NAME
-perlfaq9 - Networking ($Revision: 1.7 $, $Date: 2002/01/28 04:17:27 $)
+perlfaq9 - Networking ($Revision: 1.8 $, $Date: 2002/04/02 04:32:42 $)
=head1 DESCRIPTION
@@ -251,7 +251,7 @@
The best source of detailed information on URI encoding is RFC 2396.
Basically, the following substitutions do it:
- s/([^\w()'*~!.-])/sprintf '%%%02x', $1/eg; # encode
+ s/([^\w()'*~!.-])/sprintf '%%%02x', ord $1/eg; # encode
s/%([A-Fa-f\d]{2})/chr hex $1/eg; # decode