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.)

0.007
-----
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.

0.006
-----
• The JE back end’s event2sub method  (that parses HTML  event  attri-
  butes)  now sets  $@  instead of dying if there is a  syntax  error.

0.005
-----
• 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:

- perl 5.8.3 or higher (5.8.4 or higher recommended)

- JE 0.038 or higher

- HTML::DOM 0.032 or higher

- CSS::DOM

- WWW::Scripter 0.022 or higher

- Hash::Util::FieldHash::Compat

- URI

- LWP 5.815 or higher


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.