Working with WWW::Mechanizeby cdherold (Monk)
|on Sep 16, 2005 at 05:44 UTC||Need Help??|
cdherold has asked for the wisdom of the Perl Monks concerning the following question:
I once again return to the monastery for monk wisdom.
I have been working with WWW::Mechanize. My goal is to browse through my brokerage account and scrape pages and fill our forms to get stock information. I realize I have a lot of challenging work before me in terms of dealing with returned cookies and such in order to finally get in. All I want to get to right now is the point where I can see that I have pulled down the logon page and actually submit my user/pass. Then I can worry (and learn) about the cookies and other verification issues that need to be addressed.
I have read over Mechanize and see its power, but must confess my general lack of fluency with object oriented programming. I have mostly been using perl for link extraction and regex.
So now I am trying to learn some new stuff.
So I know where to start (straight from the docs with simple modifications) ...
In the above code I was trying to get a view of the url text that (I had hoped) was extracted.
I got ...
And when I do this ...
I get this ...
dudes, monks, I am lost.
Any words of wisdom that might help me in my quest would be greatly appreciated.