From: Shawn M Moore Date: Wed, 22 Sep 2010 20:27:52 +0000 (-0700) Subject: Better code popups for override/super X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2a6ffdb7cef8579e65e43537c11579d5a3dd20ee;p=gitmo%2Fmoose-presentations.git Better code popups for override/super --- diff --git a/moose-class/slides/index.html b/moose-class/slides/index.html index adf159f..e589505 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(); +};