Have you seen URI::Find?
In reply to Re: Creating links by Corion in thread Creating links by htmanning