in reply to Recursive HTML Tag Extraction

You can use HTML::LinkExtor to extract links, and LWP::mirror() to fetch a page and store it. If you use Super Search and search for "LinkExtor", you'll find examples that you can adapt.