WWW::Scripter, version 0.024 (alpha)
For scripting web sites that have scripts
This is a subclass of WWW::Mechanize that uses the W3C DOM and pro-
vides scripting support.
RECENT CHANGES
See the Changes file for the long version.
0.024
-----
Link-fetching methods, like find_all_links, no longer die if there is
no document, which happens after browsing to an unparsable or
unretrievable URL. Thanks to Kengo Tsukamoto for reporting this
[rt.cpan.org #72481].
0.023
-----
• WWW::Mechanize::Link objects returned by WWW::Scripter can now be
dumped via Data::Dumper, instead of producing a ‘Can't locate
object method FETCHSIZE’ error.
• /../ at the beginning of a URL path is now stripped out.
• The warning displayed when a script cannot be loaded now uses the
URL and line number of the page containing the <script> tag.
0.022
-----
• New status and defaultStatus window properties
• New screen method that returns a screen object. This object cur-
rently does nothing, but serves mainly as a placeholder for
future use.
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"
[sudo] cpan WWW::Scripter
Or you can use the following:
perl Makefile.PL
make
make test
[sudo] make install
PREREQUISITES
This module requires perl 5.8.3 or higher (5.8.4 or higher recom-
mended) and the following modules, which can be found on the CPAN:
HTML::DOM 0.045 or higher
LWP 5.77 or higher
URI
WWW::Mechanize 1.2 or higher
If you are using perl 5.8.x, you will also need:
Tie::RefHash::Weak 0.08
DOCUMENTATION
After installing, you can find documentation for these modules with
the perldoc command.
perldoc WWW::Scripter
Or try using man (it's faster, in my experience):
man WWW::Scripter
COPYRIGHT AND LICENCE
Copyright (C) 2009-11 Father Chrysostomos
This program is free software; you may redistribute it, modify it, or
both, under the same terms as perl.