my point stands :)
So out of curiosity, what kind of data structure do you get back with this? If its as
I would
imagine, then its very close to my own.
%hash = (
'a_name' => 'value', # for single name value pairs
'b_name' => ["multiple", "values", "for", "this"], # for single name muli-value
sets
'c_name' => {
'original_name' => 'filename.jpg',
'size' => '23554',
'location' =>
'/tmp/fileupload/tmpfile-10028983-88.57.192.3-2783-298374-927837'
} # for files
);
Of coarse I know the image information is not in there the same way.
David
----- Original Message -----
From: "Scot Robnett" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Felix Geerinckx" <[EMAIL PROTECTED]>
Sent: Thursday, June 27, 2002 8:29 AM
Subject: RE: CGI.pm v/s roll-your-own [WAS:] Displaying Problems
Picky, picky. :)
You're right, my bad.
use CGI;
my $q = new CGI;
my %params = $q->Vars;
SR
-----Original Message-----
From: Felix Geerinckx [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 2:16 AM
To: [EMAIL PROTECTED]
Subject: RE: CGI.pm v/s roll-your-own [WAS:] Displaying Problems
on Thu, 27 Jun 2002 02:54:10 GMT, [EMAIL PROTECTED] (Scot Robnett)
wrote:
>> Its pretty hard to make it more simple than:
>> use Form;
>> my %input = Form();
>
> Let me try.
>
> ################
> use CGI;
> %params = $q->Vars;
> ################
Try again. Your code throws the following error:
Can't call method "Vars" on an undefined value ...
--
felix
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]