Embeded perl interpreter for node.js
C C++
Switch branches/tags
Nothing to show
Latest commit 4f952a7 Apr 6, 2012 @hideo55 Change This() to Holder()
Permalink
Failed to load latest commit information.
src
README.markdown
package.json initial commit Feb 19, 2011
wscript Change This() to Holder() Apr 6, 2012

README.markdown

node-perl

Embed Perl interpreter for node.js

Install

#>git clone git://github.com/hideo55/node-perl.git
#>cd node-perl
#>node-waf configure
#>node-waf build
#>node-waf install

Tutorial

var Perl = require('perl').Perl();
var perl = new Perl();

perl.Run({
    opts : ["-Mfeature=say","-e","say 'Hello world'"]
}, function(out,err){
    console.log(out);
});

perl.Run({
    script : 'example.pl',
    args : ['foo', 'bar']
});

API

Run(options,[callback])

License

node-perl is licensed under the MIT license.