Re: Weird behavior (Perl + FastCGI + Apache)

"Yuji Maeda" <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
I could solve the problem by my self.

My code had both CGI::Fast object and CGI object.
It caused the problem. That's why CGI object always
calls subroutine for caching parameters.

The problem can be held with this code:
----
#!/usr/bin/perl
use CGI;
use CGI::Fast;

while(my $q = new CGI::Fast){
	new CGI;
	print "Content-type:text/html\n\n";
	print $q->Dump;
}
----

I reported this to the author of CGI.pm.
And current version of CGI::Fast doesn't have this problem.

Thanks,

Yuji Maeda
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.