WWW::Scripter::Plugin::Ajax, version 0.02 (alpha) Plugin for WWW::Scripter that provides the XMLHttpRequest object. RECENT CHANGES 0.02 ---- Fixed to work with WWW::Scripter::Plugin::JavaScript 0.002. The test script was relying on a bug in that module. 0.01 ---- First version. Just a renamed version of the Mech plugin with a few tweaks. WWW::Mechanize::Plugin::Ajax 0.05 --------------------------------- No new features; just updated to work with LWP 5.818 WWW::Mechanize::Plugin::Ajax 0.04 --------------------------------- No new features; just updated to work with LWP 5.815 WWW::Mechanize::Plugin::Ajax 0.03 --------------------------------- • The errors produced when the URL passed to open is from the wrong site/port/etc. are now DOMException objects. • The open method now clears the responseText and the request headers. • The send method now raises a readystatechange event on sending (without changing the readyState) and for the ‘loading’ state (3). • The setRequestHeader method now dies when called at a time other than between open and send. • setRequestHeader now throws a syntax error when the arguments do not conform to HTTP syntax. • The send method no longer runs scripts on HTML pages that it fetches. • setRequestHeader now ignores certain HTTP headers for the sake of security and HTTP compliancy. • The send method now dies when the readyState is not OPENED or when it is called recursively. • Assigning null to onreadystatechange no longer causes warnings and errors during event dispatch. • The argument to the send method is now ignored for GET and HEAD requests. INSTALLATION The easiest way to install this module is to use the CPAN module or the cpan script: [sudo] perl -MCPAN -e "install WWW::Scripter::Plugin::Ajax" [sudo] cpan WWW::Scripter::Plugin::Ajax Or you can use the following: perl Makefile.PL make make test [sudo] make install DEPENDENCIES This module requires: - perl 5.8.3 or higher - WWW::Scripter - WWW::Scripter::Plugin::JavaScript 0.002 or later - XML::DOM::Lite - constant::lexical - HTML::DOM 0.013 or later - Encode 2.09 or higher DOCUMENTATION After installing, you can find documentation for these modules with the perldoc command. perldoc WWW::Scripter::Plugin::Ajax Or try using man (it's faster, in my experience): man WWW::Scripter::Plugin::Ajax COPYRIGHT AND LICENCE Copyright © 2008-9 Father Chrysostomos This program is free software; you may redistribute it and/or modify it under the same terms as perl.