</div>
<div class="slide">
- <h1><code>overrides</code> and <code>super</code></h1>
+ <h1><code>override</code> and <code>super</code></h1>
<ul>
- <li><code>overrides</code> is another method modifier</li>
+ <li><code>override</code> is another method modifier</li>
<li>An alternative to Perl's <code>SUPER::</code></li>
</ul>
</div>
<div class="slide">
- <h1><code>overrides</code> and <code>super</code></h1>
+ <h1><code>override</code> and <code>super</code></h1>
<pre><code>package Employee;
use Moose;
<span class="current incremental">extends 'Person';</span>
-<span class="incremental">overrides</span> work => sub {
+<span class="incremental">override</span> work => sub {
my $self = shift;
die "Pay me first" unless $self->got_paid;
<li><code>use Moose</code></li>
<li><code>Class->meta</code></li>
<li><code>Moose::Object</code> base class</li>
- <li><code>extends</code>, <code>overrides</code>, and <code>super</code></li>
+ <li><code>extends</code>, <code>override</code>, and <code>super</code></li>
<li>Simple attributes: <code>has</code>, <code>is => 'ro'</code>, & <code>is => 'rw'</code></li>
<li><code>no Moose</code></li>
<li><code>__PACKAGE__->meta->make_immutable</code></li>