November 2013 Archives

Enable Travis-CI for a Github repository from the command line

Travis-CI is a Really Useful Engine, but I've only enabled it for a handful of my GitHub repositories because navigating though GitHub's settings to do so is a bit of a pain.

Seemed like this should be scriptable though - turns out it is! Edit that script to include your GitHub login details, and Travis-CI details, save it as travis-status somewhere in your $PATH, chmod +x travis-status and …

Introducing Kavorka

Kavorka is a function signatures module, along the lines of Function::Parameters, Method::Signatures, and MooseX::Method::Signatures.

Its features include:

  • Named, positional and slurpy parameters
  • Required and optional parameters
  • Defaults for optional parameters
  • Type constraints and value constraints
  • Type coercions
  • Return types
  • Method modifiers
  • Multi subs and multi methods
  • Lexical (private) methods
  • An introspection API that can integrate with Moose's MOP
  • Speed

It probably has every feature you want from in a function signatures module, unless you want minimalism.

Planet Moose - October 2013

Welcome to Planet Moose, a brief write up on what's been happening in the world of Moose in the past month, for the benefit of those of you who don't have their eyes permanently glued to the #moose IRC channel, or the MetaCPAN recent uploads page.

Thanks for contributions from Damien Krotkine; and thanks to Upasana Shukla for allowing me to interview her. If you'd like to contribute some news for next month's issue, you can do so on the wiki.


The big news is that Moose now throws blessed exception objects. The 2.1102 trial version is the first release with this feature. (I think MooseX::Exception::Rot13 is the first distribution to include a dependency on Moose::Exception.)

About Toby Inkster

user-pic I'm tobyink on CPAN, IRC and PerlMonks.