4 Comments

I've chosen Object::Tiny::RW for WebNano. I was inclined to use Moose - but I did not want to limit WebNano usage by making it too startup heavy for CGI scripts, then I ruled out any XS for a similar reason. I also needed something that used hashes for objects so that I could subclass my classes in Moose with MooseX::NonMoose and something that did not use too much magic that would conflict with Moose magic. I could've used just bare Perl OO - but Object::Tiny::RW is really so tiny and it does spare a bit of coding. I also thought about using Object::Tiny, personally I could have lived without the setters - but I thought the users of my lib might be too much off put by the lack of them.

I only use Try::Tiny directly (ignoring dependencies of my dependencies), not because it is "tiny", but because it takes care of a common task that is tricky to get right, and it keeps things focused while doing so. I also directly use DBIx::Connector for the same reason.