https://github.com/hideo55/node-perl
Embeded perl interpreter for node.js
https://github.com/hideo55/node-perl
Last synced: 5 months ago
JSON representation
Embeded perl interpreter for node.js
- Host: GitHub
- URL: https://github.com/hideo55/node-perl
- Owner: hideo55
- Created: 2011-02-19T03:24:00.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-04-07T02:16:00.000Z (about 13 years ago)
- Last Synced: 2024-08-03T18:14:17.887Z (9 months ago)
- Language: C
- Homepage:
- Size: 155 KB
- Stars: 19
- Watchers: 5
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
- AwesomeInterpreter - node-perl
README
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.