package Foo; my bar; # Nobody outside of package Foo can access bar. our baz; # Anyone can access baz by referring to it as Foo::baz, no # matter what package they're in (provided they use/require # Foo). # # This also allows Foo to export baz, in which case other # packages could import it and refer to it as just "baz".