in reply to Re^5: A curious case of of my()
in thread A curious case of of my()

>For instance my, our and package follow the same scope rules (block or file scope).

see Re^2: how to use packages as classes in perl? for an example

EDIT: resolving duplicate post problem by splitting information.