NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Interesting assumption there... (Score:1)
I should point out there are organic macromolecules that have the properties of inorganic ones.
So there are molecules out there that ->isa('Organic') but that by some clever tricks can ->does('Inorganic').
excludes seems like a dangerous keyword...
Reply to This
Re:Interesting assumption there... (Score:1)
Having pretty much failed high school chemisty myself, I will take your word on that. And to be honest, it is not my example, I took it direct from the most recent Fortress spec [sun.com].
It is.
Probably the best use case for 'excludes' is for tightly coupled role heirarchies, in which you want to provide two mutually exclusive interfaces (immutable and mutable come to mind). While forcing this exclusion might not be 100% appropriate in all cases, it may be appropr
Re:Interesting assumption there... (Score:1)