Any::Renderer::JavaScript::Anon Perl module renders anonymous JavaScript data structure.
SYNOPSIS
use Any::Renderer;
my %options = ( 'VariableName' => 'myvariable' );
my $format = "JavaScript::Anon";
my $r = new Any::Renderer ( $format, %options );
my $data_structure = [...]; # arbitrary structure code
my $string = $r->render ( $data_structure );
You can get a list of all formats that this module handles using the following syntax:
my $list_ref =
Any::Renderer::JavaScript::Anon::available_formats ();
Also, determine whether or not a format requires a template with requires_template:
my $bool =
Any::Renderer::JavaScript::Anon::requires_template ( $format );
Product's homepage
Requirements:
· Perl