Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I think you and I are on different trips here. I don't
know what the real story is though.
I don't see why Perl needs interfaces in any form, they're just there to satisfy the compiler in statically typed languages, aren't they? I think of roles as reuseable partial classes. So they add generic behaviour, customized by the state accessors they use (or metadata). I'm more going from the paper than A12, though. In reply to Re^3: Open to debate on mixins and traits.
by bsb
|
|