perlquestion
stumped
<p>I am trying to scrape some info from a web site. I can navigate to the page using mechanize, but I am struggling to getting the text from the page. It is contained in div tags eg:</p>
<code> <div id="foo">bar: 19.00</div> </code>
<p>What I want to do is extract the text "bar: 19.00". I am looking for is a way to point to the div id 'foo' and then extract the contents to the next div close tag.</p>
<p>I would be grateful for any pointers.</p>
<p>Thanks</p>