I want to call a perl script as an external program in a PHP script, once the PHP script finished its run, it should send back the output to a html page. I tried using exec command to call the perl script but it dint work out. please help with this simple perl script, so that i can try using the same !
Perl script:
#!/usr/bin/perl -s
$var1 = 'high';
print $var1;
Thanks ahead of time !!
execorsystemis what you should be using...can you post what you tried and how it "didn't work out" ?