On Wed, 9 Oct 2002, Chris Dutton wrote: : Wasn't "class MyClass;" supposed to work along the line of Perl5's : "package MyClass;" and make everything following that statement the : definition of MyClass?
Yes, though we're thinking of limiting that construct to the front
of a file, along with "module MyModule;". That is, we discourage
people from writing
{
class MyClass;
...
}
when they mean
class MyClass {
...
}
Larry
