[ic] payment module

Paul Vinciguerra pvinci at vinciguerra.com
Mon Aug 11 15:30:58 EDT 2003


On Mon, 11 Aug 2003 20:59:08 +0200, Chen Naor wrote
> 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;

Is that supposed to be locally scoped? 
Do you want my @cr_answer or @cr_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
> 
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users


--
Open WebMail Project (http://openwebmail.org)



More information about the interchange-users mailing list