in reply to Creating links

Have you seen URI::Find?