Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

RE: Answer: When constructing a URL from script variables, how do I handle spaces properly?

by steveAZ98 (Monk)
on Jul 25, 2000 at 06:08 UTC ( [id://24229]=note: print w/replies, xml ) Need Help??


in reply to Re: When constructing a URL from script variables, how do I handle spaces properly?
in thread When constructing a URL from script variables, how do I handle spaces properly?

I've also used the code below to replace spaces with the correct chars.
$value =~ s/\s/\%20/g;
And it seems to work good for my purposes.
  • Comment on RE: Answer: When constructing a URL from script variables, how do I handle spaces properly?
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (1)
As of 2024-04-24 16:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found