Hello Kevin,

one way -
use URI;
$u5 = URI->new("somescript.cgi?name=Kevin Smith")->canonical;

Terry Fritts

Saturday, March 9, 2002, 2:49:12 PM, you wrote:

K> I can't believe I can't find anything (so far anyway) on a simple function
K> to encode a URL string for example :

K>     somescript.cgi?name=Kevin Smith

K> Is there a function that will change this to:
K>     somescript.cgi?name=Kevin%20Smith

K> and any other relevant characters?

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to