View on
MetaCPAN
Salvador Ortiz > JSPL-1.07 > JSPL::Runtime::CommonJS

Download:
JSPL-1.07.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  2
View/Report Bugs
Module Version: 0.10   Source   Latest Release: JSPL-1.08_1

NAME ^

JSPL::Runtime::CommonJS - A CommonJS-complaint Runtime

SYNOPSYS ^

    use JSPL;

    my $ctx->stock_context('commonJS');
    $ctx->eval(q| 
        var print = function() {
            var stdout = require("system").stdout;
            stdout.print.apply(stdout, arguments);
        }
    |);

DESCRIPTION ^

This JSPL Runtime plugin implements the emerging CommonJS standards APIs.

CONFORMACE ^

A this time, the following CommonJS specifications are implemented:

syntax highlighting: