in reply to Re^2: Passing a lot of form values
in thread Passing a lot of form values

That seems like what I may need to do. I can develop my own "logic" to process this stuff". But I think you've answered my simple question about how I can go about sending and receiving (the possibility of 150 rows of data) my data using form variables.
I have a quick quesiton, when you say "And then after you've populated your has, add it to a list". What do you mean by this?
Also when the time comes how to I call a row of data. So if I have like 1 2 3, 1 2 3 (qty, number, stock) How do I call row one then row two of the $data?

Replies are listed 'Best First'.
Re^4: Passing a lot of form values
by carmen (Initiate) on May 23, 2007 at 17:27 UTC
    Not 100% sure ... but I would think to access a row it may be as simple as:
    my %row = $hashes[cnt]; where cnt is the row that you want to access. Or even better: foreach my %row (@hashes){ #then access each item in the hash with $row{qty}, or #go through all the keys using "foreach my $key (sort keys %row)" }
    -- Carmen
Re^4: Passing a lot of form values
by starX (Chaplain) on May 23, 2007 at 16:16 UTC
    By adding the hash to a list, I mean generate an array of hashes. Presuming you generate an array of hashes that looks like this:
    @listOfHashes = { { qty => 1, number => 2, stock => 3, } { qty => 7, number => 8, stock => 9, } }
    You would access members of that list like this:
    print "$listOfHashes[1]{qty}";
    This would print the number 7.