Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: URL escaping

by arturo (Vicar)
on Apr 02, 2001 at 21:32 UTC ( [id://69070]=note: print w/replies, xml ) Need Help??


in reply to URL escaping

Use URI::Escape or CGI's built-in escape function to do this.

use CGI; my $q = CGI->new(); my $string = "What a lovely function!"; $string = $q->escape($string); # or using the procedural interface... use CGI qw(:param); my $string = "What a lovely function!"; $string = CGI::escape($string);

HTH </code>

Philosophy can be made out of anything. Or less -- Jerry A. Fodor

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://69070]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-25 14:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found