I've just resolved a bug I was getting with parameter parsing, and was
told that I should pass it along to the mod_perl list (which I'd been
meaning to subscribe to anyway, so hey). 

I'd been having problems getting CGI.pm to properly parse out script
parameters for various pages that had been working just fine before.
Further investigation showed that a simple script with just a call to
CGI.pm's Dump() method would return parameters that were clearly not part
of the argument portion of the url, and it wasn't grabbing the ones that
were there. Hitting reload would trigger more or less random results --
sometimes it would get the right parameters & return the correct page
contents, other times it would mangle the parameters but, generally, it
would display an incorrect but valid page (i.e. ask for foo?p=bar and get
back foo?p=blat). 

Turns out that a call to 'use HTML::Template' that I'd placed into my
startup.pl script was causing all the errors. Commenting it out and
restarting the server seems -- so far -- to have removed the problem. 

*and there was much rejoicing*

So, if any of you are using H::T, be aware that it doesn't seem to like
being called from your startup.pl scripts. If you're getting weird, semi
random errors across more or less your whole site, this or something like
it could be to blame. 

*yech*

So anyway, yeah. I don't usually join a list & post straight off, so...

<goes into lurk mode />


-- 
Chris Devers                     [EMAIL PROTECTED]

Reply via email to