in reply to WWW:Mechanize::FormFiller documentation

WWW::Mechanize::FormFiller is a sub class of WWW::Mechanize What this means is that it inherits many of its methods from WWW::Mechanize. To save unnecessary documentation duplication the methods supplied by the WWW::Mechanize base class are only documented in WWW::Mechanize although they are all available when you use WWW::Mechanize::FormFiller. The docs for FormFiller only cover the additional methods that it adds to the base class so read the docs for the base class module and all should become clear. There is even sample code. You can just use WWW::Mechanize by itself as the FormFiller subclass just supplies convenience methods on top of the base class.

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

  • Comment on Re: WWW:Mechanize::FormFiller documentation

Replies are listed 'Best First'.
Re: Re: WWW:Mechanize::FormFiller documentation
by Corion (Patriarch) on Apr 16, 2003 at 06:56 UTC

    I'm sory for the confusion (not alleviated through the misprocessed POD / Examples) that this module causes, but it's not a subclass of WWW::Mechanize - it merely provides convenient ways of setting defaults/retrieving values when filling out HTML forms. It's mostly used by WWW::Mechanize::Shell and the scripts that WWW::Mechanize::Shell creates. What the original poster wanted seems to be to generate HTML, not to consume HTML, so WWW::Mechanize::FormFiller is on the wrong end :-)

    perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ; # The $d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider ($c = $d->accept())->get_request(); $c->send_response( new #in the HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' # web