This node should help. There is also a lwpcook file that came with the module.
perldoc lwpcook
I would also look at the CPAN docs. Once you start using the OO interface to modules more often the CPAN docs will most likely make more sense (,but I have to agree with you the CPAN docs on LWP::UserAgent leave something to be desired for a newcomer)
Good Luck
grep
grep> cd pub
grep> more beer
|
| [reply] [d/l] [select] |
What's the best way in your opinion to learn OO especially as it applies to perl?... I am getting there in the round about way but mostly in theory not application and really not anything related to Perl. I am wishing that I started OO right off instead of pulling an "Oh yeah I'll lean that later...". It seems like the way to go for a lot of things and it's definatly the future so I gotta learn it :). Thanks for your help!
| [reply] |
If you are interested in CGI programming Ovid's CGI course does not specifically cover using an OO object but all/most of his examples show how to use the OO interface of CGI.pm. Most all modules s/have|only have/ an OO interface so using other modules would be a good idea. The Camel Book has some examples in the back, so does the Ram Book.
HTH
Update: BTW I was just talking about using the OO interface to a .pm if you want to learn to program OO perl:
- Object Oriented Perl by TheDamian and merlyn is excellent.
- The Panther Book has chapters about OO and modules.
- Effective Perl Programming or the White Pearl Book has a chapters with tips modules and OO. (BTW co-authored with merlyn).
- and last but not least the perldoc 'perldoc perltoot' or perltoot.
grep
grep> cd pub
grep> more beer
|
| [reply] [d/l] [select] |
I'd start with merlyn's Beginner's Object-Oriented Tutorial aka perlboot... it was specifically written to be a gentle introduction to perl's OO features. Its light-hearted and fun too ;-)
-Blake
| [reply] |
I'd also add that the docs for HTTP::Request::Common are pretty helpful and makes POST a lot easier. You might also want to investigate HTML::Form.
On a related note, has anyone looked into WWW::Chat? It looks pretty useful but I'm surprised I've never seen anything about it. Has anyone used it?
gav^ | [reply] |
That seems to be just what I was looking for (to solve my POST issue). Thanks!
| [reply] |
Here are a few articles which ought to be helpful :
1.WebReview
2.An Article by merlyn
3.Another one by merlyn Article
4.A practical example of how to use LWP (with code) Article
and lastly ,
5.something that I'd posted not too long ago :
Hope it helps :-) | [reply] |