in reply to HTML::TreeBuilder::XPath not loading the complete $page
My guess is that the page creates additional DIVs through Javascript. Have you checked the page with Javascript disabled in Firefox?