in reply to Recursive HTML Tag Extraction

Would HTML::LinkExtor be what you're looking for? Perhaps posting some code that you've got so far to help us understand your design would help.