WWW-Scripter-Plugin-JavaScript-0.006 (alpha)
A plugin for WWW::Scripter that provides JavaScript support
This distribution contains:
WWW::Scripter::Plugin::JavaScript 0.007 â The JavaScript plugin
WWW::Scripter::Plugin::JavaScript::JE 0.007 â A back end for JE
RECENT CHANGES
(See the Changes file for the long version.)
Makefile.PL now requires Bundle::LWP5_837 instead of LWP on perl 5.8.7 and lower, since LWP 6 does not support 5.8.7.
â¢Â The JE back endâTMs event2sub method (that parses HTML event attributes) now sets $@ instead of dying if there is a syntax error.
⢠Incompatible changes:
⢠set now expects a WWW::Scripter object as the first argument.
â¢Â new_function now adds the function to all JS environments.
â¢Â New back_end method
⢠The eval method is now public.
â¢Â A piece of JavaScript code calling a method on another global
object no longer dies.
⢠JE is now the default back end, not SpiderMonkey. This is temporary.
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::JavaScript"
[sudo] cpan WWW::Scripter::Plugin::JavaScript
Or you can use the following:
perl Makefile.PL
make
make test
[sudo] make install
DEPENDENCIES
This module requires:
DOCUMENTATION
After installing, you can find documentation for these modules with the perldoc command.
perldoc WWW::Scripter::Plugin::JavaScript perldoc WWW::Scripter::Plugin::JavaScript::JE
Or try using man (it's faster, in my experience):
man WWW::Scripter::Plugin::JavaScript man WWW::Scripter::Plugin::JavaScript::JE
COPYRIGHT AND LICENCE
Copyright © 2009-11 Father Chrysostomos
This program is free software; you may redistribute it and/or modify it under the same terms as perl.