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 Mumia W.
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 well. I have a fee

Help downloading a file

2007-05-01 Thread Moon, John
Below is code I presently use to download to clients and the generated html. One client objects to the generated html - the "Content-Disposition" ... Does any one have another method to download AND display the pdf with perl. sub Display_PDF { my ($pdf, $pdf_size) = @_; $|=0; print $q

Re: Help downloading a file

2007-05-01 Thread Greg Jetter
On Tuesday May 1 2007 6:56 am, Moon, John wrote: > Below is code I presently use to download to clients and the generated > html. One client objects to the generated html - the > "Content-Disposition" ... Does any one have another method to download > AND display the pdf with perl. > > > sub Displa

Re: Help downloading a file

2007-05-01 Thread Greg Jetter
On Tuesday May 1 2007 6:56 am, Moon, John wrote: > Below is code I presently use to download to clients and the generated > html. One client objects to the generated html - the > "Content-Disposition" ... Does any one have another method to download > AND display the pdf with perl. > > > sub Displa

RE: Help downloading a file

2007-05-01 Thread Hellman, Matthew
The original intent was to generate a save-as dialog box instead of displaying the PDF inline? I believe the problem with this is that it can cause blank browser windows to open, which some people don't like. This is a browser issue and I'm not aware of an alternative. Removing the content-disposit

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