[Linux-disciples] Converting relative links to absolute

Stephen R Laniel steve at laniels.org
Wed Sep 1 15:39:07 EDT 2004


Task:
	extract URLs from a document, then go to those URLs.
Problem:
	sometimes the URLs are relative rather than
	absolute.
Question:
	what's the quickest way to convert relative URLs
	to absolute ones, assuming I've already downloaded a page
	using LWP and thereby have the request and the response
	conveniently wrapped up in LWP objects?

-- 
``You see, Andrew: toilet paper is made of paper, while rats
  are made out of ... rat.''
 -Josh Wretzel, 2004-08-29



More information about the Linux-disciples mailing list