Embeded perl interpreter for node.js
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src Change This() to Holder() Apr 6, 2012
README.markdown add install document Feb 22, 2011
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.