In fact, Fang, I am not using mod_perl yet. But I do plan to. The tip Tan. gave solved the problem: naming the sub with my with a variable name. Thanks a lot, Tan. The point is tricky is not to forget the ; after the closing } , otherwise it won´t work.
Take care!
André
In reply to Re^2: Perl complaining about vars not staying shared
by Andre_br
in thread Perl complaining about vars not staying shared
by Andre_br
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |