JavaScript::Script(3pm)

JavaScript::Script3pm

Pre-compiled javascript

Overview

If you have a big script that has to be executed over and over again compilation time may be significant. The method "compile" in "JavaScript::Context" provides a mean of returning a pre-compiled script which is an instance of this class which can be executed without the need of compilation.

Interface

Instance methods

exec

Executes the script and returns the result of the last statement.

Releases

2 releases since Debian 5.0 (Lenny); the text changed 1 time.

  1. 5.0
  2. 6.0

From libjavascript-perl 1.16-3 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.