From: Dave Rolsky Date: Sun, 10 Oct 2010 01:00:00 +0000 (-0500) Subject: Fix incremental for override/super example X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b0a5eaa5b41b304a3c1ec8e9257b0097426aaaa9;p=gitmo%2Fmoose-presentations.git Fix incremental for override/super example Shawn, I want to highlight super(); on its own. --- diff --git a/moose-class/slides/index.html b/moose-class/slides/index.html index dbb184d..b004446 100644 --- a/moose-class/slides/index.html +++ b/moose-class/slides/index.html @@ -1054,13 +1054,13 @@ use Moose; extends 'Person'; -override work => sub { +override work => sub { my $self = shift; die "Pay me first" unless $self->got_paid; - super(); -}; + super(); +};
@@ -1330,7 +1330,7 @@ print $person->full_name

Roles in Practice