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
> 

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Interview with Ben Collins-Sussman - http://shlom.in/sussman

Bzr is slower than Subversion in combination with Sourceforge. 
( By: http://dazjorz.com/ )

-- 
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