in reply to Scrape Select Options from Web Page
Use a decent XML module that has 'xpath' , or something like XML::Twig - and this should take under 10 lines of code.
Memory fault -- brain fried