Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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-


Comment on Re: Encoding a URL with regular expressions?
Download Code
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 web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2015-07-07 15:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (90 votes), past polls