No photo
By Piers Cawley (‎pdcawley‎) from
Date: Wednesday, 23 June 2010 15:00
Duration: 40 minutes
Target audience: Advanced
Language: English
Tags: devel::declare moosex::declare test::class::sugar trycatch

... and not a source filter in sight. Warping syntax with Devel::Declare

This is legal perl:

class Example extends ToyClass {
use SampleTypes;
use TryCatch;

method print (Printable $object) {
try {
return $object->print_on($self);
catch (Exception $e) {

And there's not a source filter in sight.

This talk is a whistlestop introduction to taking advantage of the possibilities of Devel::Declare in your own code.

You won't be an expert at the end of it, but you should be able to start playing.

Attended by: