sub sound { "moooo" }
}
-Note the added C<@ISA> array. We'll get to that in a minute.
+Note the added C<@ISA> array (pronounced "is a"). We'll get to that in a minute.
But what happens when we invoke C<< Cow->speak >> now?
=head2 A few notes about @ISA
-This magical C<@ISA> variable (pronounced "is a" not "ice-uh"), has
-declared that C<Cow> "is a" C<Animal>. Note that it's an array,
-not a simple single value, because on rare occasions, it makes sense
-to have more than one parent class searched for the missing methods.
+This magical C<@ISA> variable has declared that C<Cow> "is a" C<Animal>.
+Note that it's an array, not a simple single value, because on rare
+occasions, it makes sense to have more than one parent class searched
+for the missing methods.
If C<Animal> also had an C<@ISA>, then we'd check there too. The
search is recursive, depth-first, left-to-right in each C<@ISA> by