Salvador Ortiz > JSPL-1.07 > JSPL::Script

Download:
JSPL-1.07.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  2
View/Report Bugs
Source  

NAME ^

JSPL::Script - Encapsulates pre-compiled JavaScript code.

DESCRIPTION ^

If you have a big script that has to be executed over and over again compilation time may be significant. The method compile in JSPL::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.

PERL INTERFACE ^

INSTANCE METHODS

exec

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

syntax highlighting: