Package declarations may be nested. This can be useful for a variety of reasons, including namespace cleanliness and control of complexity:
package a { foo = 21; package b { bar = "abc"; }; };
Here foo is externally accessible as a::foo while bar is externally accessible as a::b::bar.