gayu_justin has asked for the wisdom of the Perl Monks concerning the following question:

I am having 2 cgi script, i want to pass an array from one to another... please help me doing this...

  • Comment on How to pass, one array from a cgi script to another??

Replies are listed 'Best First'.
Re: How to pass, one array from a cgi script to another??
by kcott (Archbishop) on Jul 18, 2013 at 06:45 UTC

    G'day gayu_justin,

    You're going to need to provide more information than that to get any sort of reasonable answer.

    Here's some idea of the missing information that prevents an informed answer:

    How are the scripts related? If one generates a <form> which calls the other, then <input type="hidden" ... /> might be the answer. If the scripts are run independently, then perhaps one can store the data in a file which is subsequently read by the other script (maybe using Storable).

    What sort of array data is involved? Is it a one-dimensional array containing just strings or something more complex? How much data is involved? How many elements would it typically have? What would be an average size of the elements?

    See also "How do I post a question effectively?" which provides guidelines for writing a better question that, in turn, will result in better answers.

    -- Ken

Re: How to pass, one array from a cgi script to another??
by Anonymous Monk on Jul 18, 2013 at 07:04 UTC