in reply to Name-Space problems migrating to Apache::Registry

Hello,

I ran into similar problem a while ago, and found the explanation
in the Practical mod_perl book very helpful.
Almost the same explanation plus the solutions to the problem are
available on-line: Name collisions with Modules and libs.
There are also pluses and minuses of the solutions described there.
I am not going to rewrite this document here, as it is well informative
and I am strongly against retyping any source information.

For my particular problem I used the "quick but ineffective hackish solution",
with deleting $INC{"mymodule.pm"} and unshifting @INC within the BEGIN block,
when it was necessary, and then normally with "use mymodule;".

Regards,

-sheep