http://qs321.pair.com?node_id=11117058


in reply to LWP::UserAgent & match

Back in your question from a month ago we discussed using Mojo::DOM for exactly this task (with example code). Please don't use regular expressions, you won't be happy with the solution in the long run. Note that there's also Mojo::UserAgent, but if you need to execute JavaScript, see WWW::Mechanize::Firefox and WWW::Mechanize::Chrome. Also note that you should check Yahoo's TOS about scraping the site.