HaloO,
Jonathan Lang wrote:
Still not following. Can you give an example?
The example in the original post contains a class GenSquare that
has got an equal method that checks the sides of the self square
and the incoming argument square. The GenPointMixin role provides
an equal method that
Paul Seamons wrote:
On closer inspection, is it even possible to add a Role to a Class at
runtime?
If it isn't now, I would certainly like to have a hook available through
MOP (which is, to the best of my knowledge, still unspecified).
I thought that Class and Role composition
TSa wrote:
HaloO,
Jonathan Lang wrote:
Still not following. Can you give an example?
The example in the original post contains a class GenSquare that
has got an equal method that checks the sides of the self square
and the incoming argument square. The GenPointMixin role provides
an equal
Miroslav Silovic wrote:
Paul Seamons wrote:
On closer inspection, is it even possible to add a Role to a Class at
runtime?
If it isn't now, I would certainly like to have a hook available through
MOP (which is, to the best of my knowledge, still unspecified).
To modify a class at runtime,
On Thu, Oct 12, 2006 at 09:27:53AM -0700, Jonathan Lang wrote:
: To modify a class at runtime, use Cis also.
Cis also is compile time. You'd have to eval it.
Larry
Ovid wrote:
The intermediate class solves the problem but it instantly suggests
that we have a new design pattern we have to remember. Basically, if
I can't lexically scope the additional behavior a role offers, I
potentially need to remove the role or use the intermediate class
pattern.
my
Author: larry
Date: Thu Oct 12 14:52:22 2006
New Revision: 13096
Modified:
doc/trunk/design/syn/S01.pod
doc/trunk/design/syn/S05.pod
Log:
Changed enforced backtracking from + to ! to avoid conflicting with Friedl's ++
Modified: doc/trunk/design/syn/S01.pod
On Thu, Oct 12, 2006 at 02:55:57PM +1000, Damian Conway wrote:
Dave Whipp wrote:
I'm not a great fan of this concept of reservation when there is no
mechanism for its enforcement (and this is perl...).
What makes you assume there will be no mechanism for enforcement? The
standard Pod
Tim Bunce wrote:
Damian Conway wrote:
Dave Whipp wrote:
I'm not a great fan of this concept of reservation when there is no
mechanism for its enforcement (and this is perl...).
What makes you assume there will be no mechanism for enforcement? The
standard Pod parser (of which I have a 95%
On Thu, Oct 12, 2006 at 03:57:01PM -0700, Jonathan Lang wrote:
Tim Bunce wrote:
Damian Conway wrote:
Dave Whipp wrote:
I'm not a great fan of this concept of reservation when there is no
mechanism for its enforcement (and this is perl...).
What makes you assume there will be no
10 matches
Mail list logo