perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Sergeant <m...@sergeant.org>
Subject Re: Problem with tied STDIN, CGI.pm mod_perl 1.26 and perl 5.6.1
Date Tue, 14 May 2002 10:24:04 GMT
On Tue, 14 May 2002, Arthur Bergman wrote:

> The following patch corrects the problem without having any bad side
> effects as far as I know.

IIRC there are earlier perl 5's where file handles as a string rather than
a globref don't work. But I'm talking like 5.001 or something, so I
wouldn't worry about it too much.

> --- CGI.pm~     Wed Apr 10 21:36:01 2002
> +++ CGI.pm      Tue May 14 11:34:22 2002
> @@ -450,7 +450,7 @@
>         }
>
>         if ($meth eq 'POST') {
> -
> $self->read_from_client(\*STDIN,\$query_string,$content_length,0)
> +
> $self->read_from_client('STDIN',\$query_string,$content_length,0)
>                if $content_length > 0;
>            # Some people want to have their cake and eat it too!
>            # Uncomment this line to have the contents of the query string

-- 
<!-- Matt -->
<:->Get a smart net</:->


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message