Yes I have read the POD in fact I have them printed out in front of me.
Unless I am missing something and I doubt I am since I have read it like
4 times. All you can really do using mechanize is parse the content for
links and forms.

I need to parse out data from the page that is neither a link or form.

I need to read the content a line at a time and using a regex find the
content I want to isolate.

Your second link all though helpful also seems to be only dealing with
the above mentioned conditions.

Sorry if this seems trivial. I am not new to perl but $a-content() is
not working the way I would expect it to behave.

The regex I would use is /class="statement" align="center"/

Paul Kraus


-----Original Message-----
From: Kevin Old [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 14, 2003 9:22 AM
To: [EMAIL PROTECTED]
Cc: 'Beginners Perl'
Subject: RE: Mechanize


On Fri, 2003-11-14 at 09:02, Paul Kraus wrote:
> Lol ... Now that is ironic... Should have read ...staring at the code 
> to long and was missing some obvious typo. :)

Paul,

Have you looked at the POD docs that came with WWW::Mechanize?  It
clearly shows how to parse the content 
http://search.cpan.org/~petdance/WWW-Mechanize-0.66/lib/WWW/Mechanize.pm

Also, Randal has a wonderful article on WWW::Mechanize at:
http://www.stonehenge.com/merlyn/LinuxMag/col47.html


Hope this helps,
Kevin
-- 
Kevin Old <[EMAIL PROTECTED]>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to