That's pretty much it. You've got and ending slash and a beginning on your strings which will make http://www.google.com//intl/en/about.html
Otherwise it seems fine, is there some problem you're encountering? -Charley On 10/3/06, Astha Raj <[EMAIL PROTECTED]> wrote: > Hi All, > > This is what I want to do. I want the base URL of the site to be a variable > and to get other pages, I could create varaibles attaching to the base. So > that if I have to change the URL, I can simply change the base variable. > > Is there any way I can do this – something like below? > > $base_url = 'http://www.google.com/' > $about_url = $base_url + '/intl/en/about.html' > > Thanks for your help. > Astha > --------------------------------------------------------------------- > Posted via Jive Forums > http://forums.openqa.org/thread.jspa?threadID=4654&messageID=12829#12829 > _______________________________________________ > Wtr-general mailing list > Wtr-general@rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-general > _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general