in reply to Re: Re (tilly) 1: Hiding Internal Classes ?
in thread Hiding Internal Classes ?

Probably because Perl's OO is a hack on top of package namespaces. Constructed at a time when references were still really new in Perl, and nobody knew how useful they would turn out to be or how far they would go.

And the idea of a class as an object is not part of Perl. Indeed there are many Perl programmers who think it a ood idea to make what I would say should be class methods into object methods. (Yes, I am referring to the testing in new whether you are passed something blessed...)

Replies are listed 'Best First'.
Re: Re(tilly) 3: Hiding Internal Classes ?
by John M. Dlugosz (Monsignor) on Jul 11, 2001 at 10:11 UTC
    If that's the only reason, then maybe Perl 6 will go farther in using references rather than strings for more things. (Any p6p's listening?)