Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Encoding a URL with regular expressions?

by gjb (Vicar)
on Apr 09, 2004 at 13:20 UTC ( #343892=note: print w/replies, xml ) Need Help??


in reply to Encoding a URL with regular expressions?

Why not simply $company_name =~ s/ /%20/g;

Hope this helps, -gjb-

Replies are listed 'Best First'.
Re: Re: Encoding a URL with regular expressions?
by Anonymous Monk on Apr 09, 2004 at 13:52 UTC
    Why complicate when you can simplify it, thanks, what was I thinking... it helped.....
    Thank you very much!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://343892]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2016-12-09 07:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (148 votes). Check out past polls.