-
When you've used the same subroutine in two different scripts, it belongs in a module.
-
Regular Perl modules export their functions. Object-oriented Perl modules do not; they use method calls instead.
-
Inheritance and polymorphism are methods of reusing code both in the way methods are called and in the way they are coded internally.
Slide:
50
conclude3
|
© 2003 James E. Keenan |