On 25/05/2011 07:37, Ron Savage wrote:
>
> I don't run Apache anymore. I run nginx and proxy cgi-bin/ to
> mini-httpd. A 'weird error' won't be in those programs, it'll be in your
> code, no matter how hard you find that to believe :-))).
>
> It's a classic symptom of using a global variable(s), although (of
> course) it could be something else.
>

It was a global variable :-). 'Trouble is it didn't show up when using 
Apache/CGI. Only when deployed with nginx + Starman. That's why I thought it 
was a Starman issue. I thought these global variable issues were only with 
mod_perl but they seem to apply to Starman though I couldn't find any 
guidelines about avoiding such issues with Starman. OK, I know you shouldn't 
use globals, and there was only 1 in this module, but if it's going to bork 
your app this badly it should be documented a la mod_perl. If globals are 
simply not an option rather than sloppy style it should be clearly stated.

gvim

#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to