On Friday 02 May 2008 07:08:21 John M. Dlugosz wrote: > TSa Thomas.Sandlass-at-barco.com |Perl 6| wrote:
> > Then, since classes are open, the programmer can easily say
> >
> > CGI does CGI::Simple;
>
> That would be
>
> class CGI is also { does CGI::Simple }
>
> and means that CGI::Simple is a role, meant to serve as an interface
> specification. It's not, it is a whole class that works on its own.
All classes imply the existence of a role of the same name.
-- c
