Well,
HTML::LinkExtor is fine if you just want the links, but in a transformation like this, you also need all the non-link text as well. Unless you
were just replacing the entire file with only a bunch of images. {grin}
-- Randal L. Schwartz, Perl hacker