Hi,
You can call/execute PERL script inside the PHP tags.
You need to download the PERL extension for PHP and add to PHP.
Then you can do like this:
Method 1: Call a PERL script file.
Code:
<?php
$perlobj = new Perl();
$perlobj->require("sample.pl"); // sample.pl is the PERL script file
$contents = ob_get_contents();
ob_end_clean();
print "Output: $contents";
?>
Method 2: Execute PERL script inside PHP.
Code:
<?php
$perobj = new Perl();
$perlobj->eval('print "Hello, this is a PERL script."');
?>