Hi there.
I'm new at moose@perl.org and just like to know how you use to represent a
Moose::Role in a UML diagram? Just like an ordinary class and type?
Thiago Glauco Sanchez
Tec. Telecom. Pl. - Petrobras SA
ITIL, MCSO, ECS ( Routing, Wireless, Switching )
I represent it using an interface.
-Original Message-
From: thiagogla...@petrobras.com.br [mailto:thiagogla...@petrobras.com.br]
Sent: Thursday, January 10, 2013 12:50 PM
To: moose@perl.org
Subject: UML for a Role
Hi there.
I'm new at moose@perl.org and just like to know how you use
Thanks Jeff.
Besides a Role does Moose have other thing near an abstract class? (I know
roles are not abstract classes)
I'm writing a doc about rational methodology and Moose, that is why I'm
asking.
De: Jeff Hallock jhall...@wbanda.com
Para: thiagogla...@petrobras.com.br
Not sure if this helps, but there is a SO post about how to represent
roles/traits/etc in UML.
http://stackoverflow.com/questions/2690249/how-do-i-represent-a-mixin-role-trait-with-uml-properly
chris
On Jan 10, 2013, at 12:32 PM, thiagogla...@petrobras.com.br
wrote:
Thanks Jeff.
Well, there are traits – which if you are not familiar, is just a role than
can be applied to an instance instead of a class.
And then you still have your abstract classes. I don’t use them that often
myself, but sometimes it is appropriate to use instead of a role.
Here as an example of how