Editing URLs in Place

Ed.Q.Bridges (edb@accidental.org)
Wed, 20 Oct 1999 22:19:00 -0400 (EDT)


I'm about to embark on a program that will
have to do numerous edits on several different
types of URLs within several thousand HTML
files.  These URLs range from relative to 
absolute, and the changes vary from editing
parts of the query string, to changing domain
names and the URI.

I've gone through the docs on HTML::LinkExtor
(perfect except it doesn't appear to let
me edit the URLs in place), URI::URL (which
would be great if I could pass a whole line
of a file to it, and have it extract a URL
for me -- much as Mail::Address will extract
an email address as an object from a line).

It's looking like I'm going to have to write
this mess from scratch . . . yuck!  Anyone
have any pointers to perl modules I may have
missed??

Many thanks!
--e--