X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperlfaq9.pod;h=e643c3398129b3fb3b38e37be27375ffbbbbcb5d;hb=3e79b69bf4e5ee29a68ea7ec363a1195dc7fddf5;hp=947c769f8e0a78b5ac754c87cd9f61ece6859624;hpb=48a4adce78f82628cab52354093080eff32451c1;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perlfaq9.pod b/pod/perlfaq9.pod index 947c769..e643c33 100644 --- a/pod/perlfaq9.pod +++ b/pod/perlfaq9.pod @@ -1,6 +1,6 @@ =head1 NAME -perlfaq9 - Networking ($Revision: 1.7 $, $Date: 2002/01/28 04:17:27 $) +perlfaq9 - Networking ($Revision: 1.9 $, $Date: 2002/04/07 18:46:13 $) =head1 DESCRIPTION @@ -253,7 +253,7 @@ Basically, the following substitutions do it: s/([^\w()'*~!.-])/sprintf '%%%02x', ord $1/eg; # encode - s/%([A-Fa-f\d]{2})/chr hex $1/eg; # decode + s/%([A-Fa-f\d]{2})/chr hex $1/eg; # decode However, you should only apply them to individual URI components, not the entire URI, otherwise you'll lose information and generally mess