Michael G Schwern [mailto:[EMAIL PROTECTED]] wrote:
> Of course, there's problems of order of definition.  What happens if
> Bar.pm is loaded before Foo?  Dunno.

simple sematics can be defined. If we see a declaration:

  package Foo is encapulated;

then we throw an error if the namespace, Foo, is not empty.
At the end of the package (either EOF or a new package decl) then
the namespace is sealed.


Dave.
--
Dave Whipp, Senior Verification Engineer,
Fast-Chip inc., 950 Kifer Rd, Sunnyvale, CA. 94086
tel: 408 523 8071; http://www.fast-chip.com
Opinions my own; statements of fact may be in error. 

Reply via email to