PHP↔Perl接口或绑定 [英] PHP ↔ Perl interface or bindings

查看:138
本文介绍了PHP↔Perl接口或绑定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你推荐什么PHP↔Perl接口或绑定?

What PHP ↔ Perl interface or bindings do you recommend?

我需要能够从PHP脚本运行位于Perl文件中的Perl函数并获取返回值。

I need to be able to run Perl functions located in a Perl file from a PHP script and get the return values.

我已经找到了 PECL perl软件包但我不确定自从上次Subversion活动大约12个月以来它是多么可靠。

I've already found the PECL "perl" package but I'm not sure how reliable it is since the last Subversion activity was ~12 months ago.

我也发现了Perl模块 PHP :: Interpreter 根据近3年的教程应该可以双向工作, 整合PHP和Perl

I've also found the Perl module PHP::Interpreter that is supposed to work both ways according to an almost 3 year old tutorial, Integrating PHP and Perl.

如果你能推荐(或不推荐)这2个选项中的任何一个,或者你有一个我还没有看过的更好的选择,我将非常感激。

I would really appreciate it if you can recommend (or not) either of those 2 options or if you've got a better option that I haven't seen yet.

推荐答案

从未使用任何这些,但它们看起来很有趣..

Never used any of those, but they look interesting..

看看 Gearman 以及......这些系统的更多开销但是你得到其他很酷的东西:)猜猜这取决于你的需求..

Take a look at Gearman as well.. more overhead in systems like these but you get other cool stuff :) Guess it depends on your needs ..

这篇关于PHP↔Perl接口或绑定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆