hum... If it wasn't in the handler, than none of the code would execute (since it's all at the same level), and he'd see nothing at all (or rather a 500 HTTP error). I suspect he's using Apache::Registry, in which case the code *is* in the handler.
With Apache::Registry, the script gets converted to a function which is called every time the page is requested.
I bet the problem is in his hiGuiStatus module.
By the way rsennat, our isn't needed here. my will suffice and it would be a better choice here. The problem in the previous thread is that you were using a my variable as a global, which is a no-no in mod_perl. Here, they're not used as globals.
In reply to Re^2: mod_perl and multiuser global variables
by ikegami
in thread mod_perl and multiuser global variables
by rsennat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |