but defeats a bit the idea that the object on creation reports its statusIf you want to do that, then you would probably need to create your own constructor with this added feature in it.
Or, as shown by mr_ron, you might (re)define the TWEAK submethod, which is called by the new default constructor, so that redefining TWEAK effectively modifies the behavior of new.
In reply to Re^3: say variable in Class
by Laurent_R
in thread [Perl6] say variable in Class
by Edelbaer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |