in reply to Re^3: Using perl 6 roles in perl 5
in thread Using perl 6 roles in perl 5
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Using perl 6 roles in perl 5
by dragonchild (Archbishop) on Jan 18, 2006 at 19:06 UTC |