On Mon, Aug 30, 2004 at 12:17:57PM -0500, Abhijit Mahabal wrote:
> Another example to clarify what I am getting at:
>
> Role Log2File [: $filename] { method do_the_logging {...}; ... }
> Role Log2Email [: $address ] { method do_the_logging {...}; ... }
> Role Log2Tk[: $widget ] { method do
Abhijit Mahabal writes:
> Traits can be mean, but roles are "guarenteed"(=forced?) to play nice. But
> suppose I have a role that wants to play nicer, by ensuring that
> incorporating it in some class actually makes sense.
>
> For example, it may want to ensure that the class has $.foo. (*)
Let m