A first glance at WWW::Robot shows that it hasnt been updated since 1997, LWP has, however.. I downloaded and tested it (there are no 'make test' tests, silly module), there is however an example program, which also does not run. I ran it through perl debug, it seems that WWW::Robot attempts to create a new LWP::RobotUA object, passing it 'NAME' and 'FROM' as parameters, the LWP::RobotUA requires that the second parameter, which is supposed to be an email address, contain an @ sign, so it dies.

In short, WWW::Robot is broken. This has already been reported on the CPAN bug tracker, but not yet fixed, see: here.

(oops, my mistake, WWW::Robot has a newer version, last released in Nov 2002, but that is still broken.)

C.


In reply to Re: a WWW::Robot robot ? by castaway
in thread a WWW::Robot robot ? by pnguine

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.