I suppose this is not actively perl specific, but it definitely can apply to perl... I have seen a fair amount about metaclasses and tried to understand them through reading articles like
, and I can usually follow them to a degree. However, when the examples stop being simple, I have trouble understanding exactly what is going on (and in some cases it feels like the syntax is actively getting in the way). Does any one here know of a good article on metaclasses that bridges the gap between beginner usage and more advanced? Perhaps a side by side comparison of a problem being solved with and without metaclasses.
I also worry a little about being unable to avoid hanging myself with the amount of rope that metaclasses seem to provide. Perhaps a general idea of the sorts of things they are best used for would be helpful to me.