Got a question-
I've looked through documentation and the Web and I am trying to find documentation on how to embed a Perl script into a PHP script. I know one can pipe stuff to and from a PHP script, but I want to actually embed a Perl script into PHP, so that a Perl interpreter is called and stays running rather than having an interpreter invoked each time the page is hit.
When I say embed, I mean:
<?
PHP code here
<Some command that says Perl is comming up>
(Perl Script here)
<End Perl>
More PHP here
?>
I've seen documentation on Perl-compatable regular expressions, but nothing on actually embedding a Perl script into PHP. I know you can do this with ASP, since a friend of mine has been embedding Perl code into his ASP documents(and some other languages as well) for some time now.