Planet Moose – February 2014
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…
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…
If you don’t test your code, what makes you think it works?! Here are some of my favourite modules for testing Perl code….
There was a surprise one-off Woolly & Tig episode this morning. I hadn’t seen it advertised anyway, so it was a surprise to me.
There will apparently be a Christmas special this year too. And some unspecified others during the year.
At the moment my son is really loving Andy’s Dinosaur Adventures, which I must admit is pretty well-made (even though we all miss Kip).
The premise of the show is that Andy is now working in “the National Museum” (most of the interior shots seem to be from the Natural History Museum in London; some of […]
Type::Tiny has been knocking around in some shape or another for almost a year now. It’s certainly grown a lot since its first commit. The distribution probably no longer merits the “Tiny” name, though the lead module itself is…
OK, so you’ve written your module like this: package MyUtils; use strict; use warnings FATAL => qw( all ); sub frobnicate { … } 1; It passes its test suite, and all is fine and dandy. You use the frobnicate…
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…
In class-based object-oriented programming, when there are classes that appear to share some functionality, this is often a time when people will refactor them into two subclasses of a common base class, avoiding repetition.
For example, in my farm model the Horse class and the Tractor class each implement a pull_plough method. (American readers might prefer pull_plow.) So this method is a candidate to split out into a Hitchable class for Horse and Tractor to each inherit from.
This would have nice benefits for polymorphism. I’ll be able to pass an object to my Farmer which will only need to check that the object inherits from Hitchable rather than having a hard-coded list of classes like Horse and Tractor that it knows are acceptable.
PAUSE was down. Now it’s up. Yay! Well done, and thank you to everyone who helped restore, and indeed help with the day-to-day running of PAUSE….
Sub::Trigger::Lock is a workaround for the problem that Moose read-only attributes aren’t really read-only; at least, not in the way that people might expect them to be. Here’s an example: package Foo { use Moose; has bar => (is…
Happy new year, and 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…
I’m a big fan of Old Jack’s Boat in general — great actors; good stories; charming animation — but the Christmas episode is something special.
Death is rarely mentioned on CBeebies. There’s a Woolly & Tig episode where a horse Tig is fond of dies. Peter Rabbit lives under threat from Mr Todd, Tommy Brock, and […]
It happened! Mike the Knight’s dad makes an appearance in this year’s Christmas special. Sadly not voiced by Brian Blessed as I’d hoped, nor Tom Baker, but Alexander Armstrong. Though I do like him.
use v5.14; use strict; use warnings FATAL => ‘all’; our $days_until_christmas = 1 * map s([+] )( )gix &&printf( ‘%5s’ .’%-4s’ .’%s’,$_, substr(~~~~ reverse,!$^C) =~y[/(] [\\)]r,$/ ),my@ xmas= qw 1 +.- _(+” (_++: /+’ +(_/^ 1;1 ;1;…
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…
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 -…
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…
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…
The Queen came to Lewes today.
This Sunday a new series based on the Katie Morag books will be starting. It looks like it should be good.
The Beeb will also be bringing us Topsy and Tim. Some of the books are fairly dull, but the kids seem to like them, so we’ll see how the TV show pans out.