your brute force loop to construct urls will exhibit thousands of non-existing urls. this will hammer the server for no good reason, and make your code run for hours instead of minutes. the site administrator will notice all the failed attempts (bad generated urls) and it might develop into your ISP contacting you. In any case, it is very bad net etiquette, and a waste of resources. Plus you insist on perlmonks helping you in this effort. have you yet bothered to ask the site admin if the proper url list is available via api or another page?..because this sort of contact is preferrable to getting noticed the other way.
the hardest line to type correctly is: stty erase ^H