in reply to Re: Re: Mechanizing Javascript form
in thread Mechanizing Javascript form

To successfully automate JavaScript, you not only need a working JavaScript virtual machine (as JavaScript.pm and Scripting::JavaScript provide, you also need the HTML DOM plus some other objects like frame, window and other weirdness, which is possible to implement, but if your only goal is to automate some web interaction, it's most likely easier to simply do the task at hand than to solve the generic problem.

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