I would like to execute perl script in an HTML page, using PHP code. I need to do this as both PHP and HTML cannot be parsed simultaneously using SSI codes in .htaccess files.

I am using the code for parsing PHP tags in my HTML pages. Now, I need to run a perl script also. How to do ?