Skip to content

hideo55/node-perl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Embeded perl interpreter for node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published