[Wtr-general] Joining two variables

Astha Raj astha.raj at tryarc.com
Tue Oct 3 22:51:06 EDT 2006


Thank you everyone. I got that. Sorry for a silly question ;)

 

-----Original Message-----
From: wtr-general-bounces at rubyforge.org
[mailto:wtr-general-bounces at rubyforge.org] On Behalf Of Yi, Lawrence
Sent: Tuesday, October 03, 2006 3:51 PM
To: wtr-general at rubyforge.org
Subject: Re: [Wtr-general] Joining two variables

 

Hi Astha,

 

What you wrote should work, however, you might want to check for the

double slashes.

 

Regards,

Lawrence.

 

-----Original Message-----

From: wtr-general-bounces at rubyforge.org

[mailto:wtr-general-bounces at rubyforge.org] On Behalf Of Astha Raj

Sent: Wednesday, 4 October 2006 4:18

To: wtr-general at rubyforge.org

Subject: [Wtr-general] Joining two variables

 

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 at rubyforge.org

http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________

Wtr-general mailing list

Wtr-general at rubyforge.org

http://rubyforge.org/mailman/listinfo/wtr-general

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20061003/b1bdcf74/attachment.html 


More information about the Wtr-general mailing list