I'm working on a Perl wrapper for the BambooHR API, and using this as a learning experiment: deliberately trying different approaches and iterating on the design. One aspect of the design is the bit that actually makes the HTTP requests. This started off as part of the main class, but here I describe different refactorings I tried, learning a bit more about Moo as I went.

Read more ...