Skip to content


Evolving Software with Moose

Last night I was speaking at the Milton Keynes Perl Mongers technical meeting. I gave a new talk about how Moose (and, in particular, Moose traits) make Perlanet easier to maintain and enhance. The slides are available on Slideshare.

Posted in Speaking.

Tagged with , , , , , , , .


4 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Zbigniew Lukasiak says

    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.

  2. Adam says

    Any chance of putting the slides up as a PDF-file somewhere? (You can’t download the PDF from slideshare without an account.)

  3. Carey Tilden says

    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

Continuing the Discussion

  1. Obsession « Davblog linked to this post on November 7, 2010

    [...] there were three other blog entries listed, none of which had anything to do with Dorries. One was about programming, one was about the campaign to get people to answer the religion question accurately at next [...]



Some HTML is OK

or, reply to this post via trackback.