In a message dated Fri, 11 Oct 2002, Larry Wall writes:
> A public inner class:
>
>     our class Node {...}
>
> That last one actually declares a subclass of the current class, just as
>
>     our $foo;
>
> puts $foo into the current package.

When you say "subclass", do you mean "below the current class in the
naming heirarchy", i.e.

  class BTree;
  our class Node {...}

would create BTree::Node?  Or do you really mean *subclass*, i.e., "our
class" causes Node to inherit from BTree?  I hope it's the former, but the
word "subclass" does usually imply inheritance....

Trey

Reply via email to