http://www.perlmonks.org?node_id=384878


in reply to Re^2: Solving compositional problems with Perl 6 roles
in thread Solving compositional problems with Perl 6 roles

I'm not sure what you mean by "That..."?

... does Program, Manage, FirstAid;

was meant to imply the equivalent of

... does Program does Manage does FirstAid;

with $individual stops FirstAid; removing the latter Role when appropriate.

Unless your referring to the last bit about the compiler mapping $individual does Thieving; to $individual isn't Employee;, in which case, my attempt at humour failed completely.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
"Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon