Your skill will accomplish what the force of many cannot |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hello Monks,
I am writing my first CGI program and having issues calling external programs from CGI program. I have captured Query in CGI program. Now I need to call external perl program say test_process.pl passing the Query parameter. test_process.pl takes Query as parameter does its processing and needs to return an array. Here is what I have tried: Since test_process.pl is a program, not sure if it can return array back. Do I need to call a subroutine within test_process.pl ? My current approach is test_process.pl writes the array using Storable and I retrieve the array in CGI script. But as you can see I am not able to call test_process.pl in the first place. Where am I going wrong? Appreciate your help. Thanks, Stan In reply to calling external program from CGI by stan131
|
|