in reply to Re: Private methods
in thread Private methods

... and after Apocalypse 6 we have submethods & BUILD in perl 6:

... in Foo ... submethod BUILD { $.foo = 1 }; ... in Bar ... submethod BUILD { $.bar = 2 };

I so want perl6 now :-)