To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
The technical storage or access that is used exclusively for statistical purposes.
The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
The start, with ‘Overriding this is hard’, reminds me ‘Constructor should not do any real work’ as in http://misko.hevery.com/code-reviewers-guide/flaw-constructor-does-real-work/ . Granted your constructor sometimes still does real work – with the _build_scrubber method – but you can easily sidestep that by providing ready made objects to the constructor.
Any chance of putting the slides up as a PDF-file somewhere? (You can’t download the PDF from slideshare without an account.)
I only read the slides, so I might have missed something in the talk, but I’m not quite sure you got this right. A role can implement methods and still be a role. And a trait is a plain ol’ role that’s used in a very specific circumstance (applied to a metaclass). For reference:
http://search.cpan.org/perldoc?Moose::Cookbook::Meta::Recipe3