Sure babe! g
Whenever your PHP-script is called by the POSTing of your form, gather your data into a new URL and use header to "move" over to the Perl-script. Something like this :
script.php?name=Techek&age=28
<?php
// dec the age by 10
$age = $age - 10;
// trim name and use only 10 first chars
$name = substr(trim($name),1 ,10);
// make the new URL for Perl-script
$url = "script.pl?name=".$name."&age=".$age."";
// changes the URL in the browser
header("Location : $url");
?>
Instead of using header, you could also fopen the url which keeps you in the PHP-script but enables to call the Perl-script from PHP which is pretty nifty. Depends on what you want to do ... Tell me how it all works out ok?