I have a perl script that needs to be called within a php function and the result of that perl script needs to be stored in a php variable (it return 1 or 0).
So it looks like this:
function somefunction() {
$foobar = "http://www.somesite.com/perlscript.pl?param1=something";
echo "$foobar";
}
Does this make sense? Any ideas on how to make this work?