I personally believe I now understand (sorry for replying so late.) Anyway I still have some questions:
is fine in that it leaves a large margin of freedom in defining $defobj. OTOH one (I, for one!) would probably like some sort of syntactic/semantic sugar to the effect of not having to hardcode Some::Class twice in the vastly most common situation involving just the constructor of the class itself.constant $defobj = ...; (use Some::Class).assuming($defobj:);
In reply to Re^2: [Perl 6] auto subs from methods?
by blazar
in thread [Perl 6] auto subs from methods?
by blazar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |