WWW::Scripter::Plugin::JavaScript::SpiderMonkey 0.002 (alpha) A SpiderMonkey back end for WWW::Scripter’s JavaScript plugin CHANGES IN THIS RELEASE • event2sub (which is used to compile HTML event attributes) now sets $@ instead of dying, if there is a syntax error. • Those memory leak warnings from SpiderMonkey are gone. INSTALLATION The easiest way to install this module is to use the cpan script: [sudo] cpan WWW::Scripter::Plugin::JavaScript::SpiderMonkey Or you can use the following (after installing the prerequisite mod- ules listed below): perl Makefile.PL make make test [sudo] make install If that does not all go smoothly, make sure you have SpiderMonkey installed in a place where JavaScript.pm can find it. The procedure I use on Mac OS X is as follows (this will need to be adjusted slightly for other Unixes, and a lot for Windows -- sorry I can’t help more): tar xzf js-.tar.gz cd js/src make -f Makefile.ref sudo mv Darwin_DBG.OBJ/* /usr/local/lib DEPENDENCIES This module requires: - perl 5.8.3 or higher (5.8.6 or higher recommended) - JavaScript.pm 1.12 or higher - HTML::DOM 0.008 or higher - WWW::Scripter 0.016 or higher - Hash::Util::FieldHash::Compat - constant::lexical - URI DOCUMENTATION After installing, you can find documentation for this module with the perldoc command, although you will probably find the JavaScript plugin’s docs to be more helpful: perldoc WWW::Scripter::Plugin::JavaScript::SpiderMonkey perldoc WWW::Scripter::Plugin::JavaScript Or try using man (it’s faster, in my experience): man WWW::Scripter::Plugin::JavaScript::SpiderMonkey man WWW::Scripter::Plugin::JavaScript COPYRIGHT AND LICENCE Copyright © 2010 Father Chrysostomos This program is free software; you may redistribute it, modify it or both under the same terms as perl.