... 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 :-)
In reply to Re: Re: Private methods
by adrianh
in thread Private methods
by crouchingpenguin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |