Gossamer Forum
Home : General : Perl Programming :

cgi and arrays in perl

Quote Reply
cgi and arrays in perl
I pass an array from one html page to a perl script. I use a print routine to test the passed values (after spliting my name, value pairs ).

I can see the following: QTY[]= 5 4 2 1 8
This represents the name of the array and its values which have been passed to perl.

My problem is I can't figure out how to access or use these values in my perl script. Simple question but not obvious to me. Also how do I pass this array on to the next html page via use hidden variables -- in other words how do I reference the array in the hidden variable name, value strings to make it pass properly?