Take the 2-minute tour ×  Some of the functions I am planning
for a new site of mine are already available as free Perl
modules. Hence I am looking at the possibility of using them,
rather than coding them again in PHP. I was planning to use exec
or system function to call the perl script, which will be slow.
But I came across a pecl extension which allows PHP to interpret
perl code.  Will this affect the performance of my other php
pages, which are not using the perl script? I understand that
the extra module will increase my memory usage, but other than
that, will there be any issues?  share|improve this question I'm
pretty sure that calling Perl via exec/system will be much
faster than running it inside PHP ... Why would that be slow?
Where did you get that? –  Jan Hančič Nov 25 '10 at 11:46 Is
there something that PHP needs to do on Perl output that
requires PHP to call it? Is the Perl script capable of handling
everything independently of PHP? –  stillstanding Nov 25 '10 at
11:48 @Jan - My question was w