in reply to Re: [Perl 6] auto subs from methods?
in thread [Perl 6] auto subs from methods?
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:);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: [Perl 6] auto subs from methods?
by TimToady (Parson) on Oct 29, 2007 at 16:30 UTC |