in reply to Re: calling external program from CGI
in thread calling external program from CGI

Ikegami,
I am newbie to CGI and still not able to what am I doing wrong. I have a perl program that takes parameter and generates an array. Now I need to call this program from my .cgi file and retrieve the array. Since program cannot return(only subroutines can), how do I invoke this from CGI and fetch the array.
  • Comment on Re^2: calling external program from CGI

Replies are listed 'Best First'.
Re^3: calling external program from CGI
by ikegami (Patriarch) on May 07, 2009 at 10:43 UTC
    Processes communicate via file handles, and file handles can only transmit bytes (not Perl arrays). You need to serialize the array somehow. I thought you already addressed that issue using Storable?