I pondered doing such a thing with Internet Explorer, but it's quite hard to infer from a requested URL which link the user clicked on - so I went a level deeper and wrote WWW::Mechanize::Shell - a command line browser that uses IE (or any other browser) to display the HTML. It generates Perl scripts that use WWW::Mechanize.
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
In reply to Re: Automatic mechanization
by Corion
in thread Automatic mechanization
by rkg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |