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".
In reply to Re: the "our" declaration ?!!
by dsheroh
in thread the "our" declaration ?!!
by perlpal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |