EJS::Template::Executor - Executes JavaScript generated by EJS::Template
Executes JavaScript code.
$executor->execute($input, $variables, $output);
The $input is used as the JavaScript source code, $variables is a hash ref of variables for JavaScript, and $output is the output destination
$input
$variables
$output
Usage:
# Getter $executor->adapter; # Setter $executor->adapter(EJS::Template::JSAdapter->create('JE'));
Gets or sets an EJS::Template::JSAdapter object.
EJS::Template::JSAdapter
EJS::Template
To install EJS::Template, copy and paste the appropriate command in to your terminal.
cpanm
cpanm EJS::Template
CPAN shell
perl -MCPAN -e shell install EJS::Template
For more information on module installation, please visit the detailed CPAN module installation guide.