fliptop wrote: according to a 'view source' on the above url, your hidden input params do indeed have a new line on the end.
try this (instead of chomp): foreach (@Draw) { s/\s+$//g; # remove all whitespace at the end of a row print "<input type='hidden' name='drawHidden' value='$_'>\n"; } James wrote: Putting that code in place of the chomp code that was suggested earlier produced the same result. >Here's something that I need some education on: why is it when I just >put the @Draw array into a hidden field, does it pass all the data, and >when I use the code suggested, it only passes the first record? It >seems to me from what I've read about CGI.pm that it would take all the >hidden fields and put them into the @Draw array like I've specified. Oh >well. fliptop wrote: i'm not sure which code you are referring to. Jams wrote: The code I was referring to was: foreach (@Draw) { s/\s+$//g; # remove all whitespace at the end of a row print "<input type='hidden' name='drawHidden' value='$_'>\n"; } Thanks so much for spending so much time on this. When I decided that this sounded like a "simple" project to help me learn Perl, I obvously had no idea what I was getting myself into. Any more ideas? -James _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]