It's probably, as bikeNomad says, some form submissions and some HTML scraping. You might need to use cookies, too, which is something LWP::UserAgent supports if you tell it to:
my $ua = new LWP::UserAgent; $ua->cookie_jar(new HTTP::Cookies);
Once your program has "logged in" to Yahoo mail, you will get a cookie, not unlike PerlMonks. You can use this to access subsequent pages over a period of time. Although the Yahoo cookie seems to linger around for quite some time, they will ask for your password on a regular basis just to keep you honest, so always be on the lookout for that kind of stuff.

When it comes to parsing the page itself, you could either go with HTML::Parser, which is a fine tool indeed, but when it comes to cracking tables, HTML::TableExtract is much more powerful. Oddly enough, HTML::TableExtract was developed, apparently, to get data out of Yahoo's finance site. If you tell it the headers of the columns you want, TableExtract will give you an array back that contains the table data.

Maybe this should be Mail::Yahoo or something.

In reply to Re: Mail and Yahoo and Perl by tadman
in thread Mail and Yahoo and Perl by dimmesdale

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.