Hi,
Simon Cozens wrote:
> I'm having a seriously good time porting Maypole to Perl 6. If you
> still have reservations about how Perl 6 is going to be to program in,
> I urge you to try programming in it.
> Now, commercial over, I have some questions.
:)
> class Foo {
> has Class $.request_class is rw;
> method BUILD {
> $.request_class = class is Foo::Request; # Or whatever
I think the only thing you're missing are two braces:
$.request_class = class is Foo::Request {};
--Ingo
--
Linux, the choice of a GNU | self-reference, n. - See self-reference
generation on a dual AMD |
Athlon! |