If you do nest your packages to share private variables, you should be using my, not our.
In reply to Re^5: the "our" declaration ?!! by ikegami in thread the "our" declaration ?!! by perlpal