Hi,

Whilst porting some perl code which uses the URI module:

  # convert a relative url to an absolute url
  my $val = "../some/relative/url.html";
  my $target_url = "http://www.somehost.net/blah/page.html";
  my $uri = URI->new_abs($val, $target_url);

  # $uri is 'http://www.somehost.net/some/relative/url.html'

- I discovered that there seems to be no standard library equivalent in 
ruby, i.e. for converting relative URIs to absolute ones... or am I just 
not looking in the right places? (I looked on Google, ruby-doc.org, in 
'Pickaxe', etc.)

Thanks,

Nick

		
___________________________________________________________ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com