in reply to Re^3: Is it possible to copy arrays from Javascript to Perl variable in the same Perl CGI script?
in thread Is it possible to copy arrays from Javascript to Perl variable in the same Perl CGI script?

Frankly, what I would suggest that you do is to fire up, say, the Firebug debugger in Firefox and look at the HTTP transactions that take place between the client and the server.   You will see first-hand how the information is encoded and transferred.   If you then examine the documentation for, say, JQuery, alongside the corresponding documentation for CGI, you will then see how each side is equipped to deal with the transfer.

The key point here is that there are two computer programs in play, written in two entirely different programming languages running on two computers, and they are exchanging data with one another using the agreed-upon protocol that is called "http."

Replies are listed 'Best First'.
Re^5: Is it possible to copy arrays from Javascript to Perl variable in the same Perl CGI script?
by sauoq (Abbot) on May 10, 2012 at 21:20 UTC
    The key point here is that there are two computer programs in play, written in two entirely different programming languages running on two computers, and they are exchanging data with one another using the agreed-upon protocol that is called "http."

    Never mind the web server and browser themselves...

    And on the server side the CGI script is starting a separate run for each request it handles. (Most likely.)

    -sauoq
    "My two cents aren't worth a dime.";
Re^5: Is it possible to copy arrays from Javascript to Perl variable in the same Perl CGI script?
by Anonymous Monk on May 10, 2012 at 21:15 UTC

    Frankly, what I would suggest that you do is ...

    LOL, bones sauoq is not lightoverhead