From: Shawn M Moore Date: Sun, 21 Jun 2009 15:38:02 +0000 (-0400) Subject: overrides is spelled override X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9fa24ee2d32df26311207463b330fc4332dbac54;p=gitmo%2Fmoose-presentations.git overrides is spelled override --- diff --git a/moose-class/slides/index.html b/moose-class/slides/index.html index cbbf3a1..a5f995f 100644 --- a/moose-class/slides/index.html +++ b/moose-class/slides/index.html @@ -986,23 +986,23 @@ extends 'LWP';
-

overrides and super

+

override and super

-

overrides and super

+

override and super

package Employee;
 use Moose;
 
 extends 'Person';
 
-overrides work => sub {
+override work => sub {
     my $self = shift;
 
     die "Pay me first" unless $self->got_paid;
@@ -1148,7 +1148,7 @@ use Moose;
     
  • use Moose
  • Class->meta
  • Moose::Object base class
  • -
  • extends, overrides, and super
  • +
  • extends, override, and super
  • Simple attributes: has, is => 'ro', & is => 'rw'
  • no Moose
  • __PACKAGE__->meta->make_immutable