Perl/Tk saves your favourite tools

Main
back: OO -1
next: OO -3

A package defines the methods of an object.

The use base specifies the inheritance relationship. It is the same as:

   require 'Animal::Human';
   use vars '@ISA';
   @ISA = 'Animal::Human';
As you see, the newer syntax is more abstract, and does not conflict with use strict.


 
OO -1 OO -3

Created by Mark Overmeer with PPresenter on 5 august 2001.