in reply to program fails to get response that should be returned by UserAgent->post
and you get the HTML which contains, where you'd expect your information to be, "We're sorry. The page you're trying to access is temporarily unavailable. Please try again later."print $cityResponse->content;
This could just be because they don't want you scraping their data, they want you to look at their ads, or it could be something more fiddly to do with JavaScript or cookies. Anyway, your code seems to be working just fine, only their server doesn't like it.
I think you should check out WWW::Mechanize, and you should note that the article you're basing your code on is five years old.
Nobody says perl looks like line-noise any more
kids today don't know what line-noise IS ...
|
|---|