I now need to write another class which inherits the caching but not the database interface functionality from my base classes, and suddenly roles seem like a really really good idea.
And using a contained module seems like a much better idea than the few lines of code which did the job just 2 hours ago.
By improving on the current systems, not by rewriting them.Out of interest, why did you rewrite Perl6::Role when Class::Role already existed?
In reply to Re^4: Using perl 6 roles in perl 5
by clinton
in thread Using perl 6 roles in perl 5
by clinton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |