Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 the pool shimmers...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2017-02-24 09:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (353 votes). Check out past polls.