Re: Passing a hash from a form field?

2007-05-01 Thread aneely
Bill Stephenson wrote: Take a look at the example scripts and docs... http://search.cpan.org/src/LDS/CGI.pm-3.29/examples/index.html http://search.cpan.org/src/LDS/CGI.pm-3.29/cgi_docs.html I'm pretty sure you'll find the syntax you need in those documents. Kindest Regards, -- Bill Stephenso

Re: Passing a hash from a form field?

2007-05-01 Thread aneely
Mumia W. wrote: On 04/30/2007 11:03 PM, [EMAIL PROTECTED] wrote: I actually have the book as well ('Official Guide to Programming with CGI.pm') and have practically torn it apart trying to find a way to do what I want. I've tracked down and read a number of articles and forum postings as wel

Odd select box behaviour

2007-05-01 Thread aneely
This one has me stumped, and it shouldn't. I'm trying to validate data from a simple select box: United States Canada When I do: foreach my $Item (param()) { my $input=param($Item); print "$Item --$input--\n"; } the data is printed out with the expected leading and trailing

Odd select box behaviour - SOLVED

2007-05-02 Thread aneely
I had a wild thought and changed the select box definition. First I dropped the 'selected' attribute. That solved the problem. Then I added it back, but as such: selected="selected". That worked too. My DOCTYPE is HTML 4.01 Transitional, and I remembered reading about all attributes must now h

Re: Odd select box behaviour

2007-05-02 Thread aneely
Shawn Hinchy wrote: Quoting Jonathan Mangin <[EMAIL PROTECTED]>: - Original Message - From: "Jonathan Mangin" <[EMAIL PROTECTED]> To: ; <[EMAIL PROTECTED]> Sent: Wednesday, May 02, 2007 9:51 AM Subject: Re: Odd select box behaviour - Original Message - From: <[EMAIL PROTEC

Re: Odd select box behaviour - SOLVED

2007-05-03 Thread aneely
[EMAIL PROTECTED] wrote: I had a wild thought and changed the select box definition. First I dropped the 'selected' attribute. That solved the problem. Then I added it back, but as such: selected="selected". That worked too. My DOCTYPE is HTML 4.01 Transitional, and I remembered reading about