[ic] payment module
Chen Naor
chen at lilux.co.il
Mon Aug 11 21:59:08 EDT 2003
Hello,
I'm writing a custom payment module.
I need to execute an external program, everything is running OK but I can't collect the answer.
Here is an example:
$cr_exec = "ls -la";
open(ANSWER, "|$cr_exec")
or die "error";
my @cr_answer = <ANSWER>;
close ANSWER;
If I run it on a perl script it put in @cr_answer the result of the command.
When I execute it in the Payment module it give no answer.
I think I don't collect the right output, but I'm not sure.
Any suggestions?
Thanks,
Chen Naor
Lilux Systems
http://www.lilux.co.il/
mail: chen at lilux.co.il
More information about the interchange-users
mailing list