Shlomi Fish wrote:
> On Thursday 31 Dec 2009 00:28:51 Bruce Ferrell wrote:
>> I see on the CGI web page that this:
>> ===================================
>> use CGI;
>>
>> $q = new CGI;
>>
>> $query = $q->param( 'POSTDATA' );
>> ===================================
>>
>>
>> will return the contents of this URI:
>>
>> http://server/cgi.cgi?POSTDATA=posteddata
>>
> 
> In this case "$query" will return "posteddata", the value of the HTTP 
> parameter of POSTDATA (a "GET" one in this case.).
> 
>> How do I code so that I don't have to use POSTDATA?
> 
> What do you want to do exactly?
> 
> Regards,
> 
>       Shlomi Fish
> 
>> I know it's a silly question and probably obvious, but not to me
>>
>> Thanks
>>
> 

Well, I thought something I was looking at implied I didn't have to use
name/value pairs.  I got out my handy dandy sniffer and it appears I was
utterly incorrect... Unless you tell me otherwise :)

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to