EJS::Template::IO - Normalizes input/output parameters for EJS::Template
Normalizes input.
EJS::Template::IO->input('filepath.ejs'); EJS::Template::IO->input(\$source_text); EJS::Template::IO->input($input_handle); EJS::Template::IO->input(\*STDIN);
It returns a list in the form ($input, $should_close), where $input is the normalized input handle and $should_close indicates the file handle has been opened and your code is responsible for closing it.
($input, $should_close)
$input
$should_close
Normalizes output.
EJS::Template::IO->output('filepath.out'); EJS::Template::IO->output(\$result_text); EJS::Template::IO->output($output_handle); EJS::Template::IO->output(\*STDOUT);
It returns a list in the form ($output, $should_close), where $output is the normalized output handle and $should_close indicates the file handle has been opened and your code is responsible for closing it.
($output, $should_close)
$output
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.