Mar 10, 2011, 11:00 PM
Post #2 of 5
For logging into websites and fetching stuff you will want to have a look at the LWP family of modules,
Re: [sunburn] Learning PERL- would like preprogramming guidance automating my computer
[In reply to]
like LWP::Simple, LWP::UserAgent. WWW::Mechanize is also very useful.
For sending mail there's for example MIME::Lite.
Turning web-content into picture -- I have no experience with that, but I saw some example code to do that
on WWW::Mechanize::Firefox::Examples at cpan.org.
That seems to be one example of actually automating a browser, that's not normally something you need to do.
Stuff like logging in and fetching things are done by Perl alone. If you know where the pictures you need to run
through OCR are located on the web page you can just get them through normal means and send them to your
OCR program. Probably a much easier/less errorprone method.
A final note -- it's not PERL, but Perl (it's not an acronym).
Hope this helps somewhat.
(This post was edited by Karazam on Mar 11, 2011, 12:43 AM)