The URL encoding versions are in CGI::Util and are just called 'escape' and
'unescape'.  I don't know why they are not documented in the CGI perldoc, or
even the CGI::Util perldoc.  I guess they are considered private, although
they are handy.

-Adam

----- Original Message -----
From: "Camilo Gonzalez" <[EMAIL PROTECTED]>
To: "'John Brooking'" <[EMAIL PROTECTED]>; "Beginners CGI"
<[EMAIL PROTECTED]>
Sent: Wednesday, May 01, 2002 2:15 PM
Subject: RE: Does CGI.pm have escapeURL?


> Try 'escapeHTML()'.
>
> -----Original Message-----
> From: John Brooking [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 01, 2002 12:49 PM
> To: Beginners CGI
> Subject: Does CGI.pm have escapeURL?
>
>
> Does CGI.pm have some kind of URL escape function,
> similar to escapeHTML? I couldn't find any
> documentation on it in "perldoc CGI", and I tried the
> obvious, "escapeURL", with negative results.
>
> I suppose that the reason there is no obvious function
> for this is if you have a form submitted with GET, the
> escaping happens automatically. But what I need to do
> is build my own query string to redirect to, so I need
> to do the escaping myself. I know what the algorithm
> is and have even done it before, but if CGI.pm
> provides it, I should be using that one, right?
>
> - John
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - your guide to health and wellness
> http://health.yahoo.com
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to