Thanks for taking the time to educate me and produce working code per your suggestions. Prior to posting my code, what I found with Super Search was that any queries regarding the existence of code like this simply got referred to CPAN modules; which was mildly suprising as many SOPW's get responses with code snippets that solve their problem.
I later found
brian d. foy's
Re: Creating a web crawler (theory) which points to his
webreaper which is apparently designed to download entire websites.