An introduction to object oriented Perl

Interface versus implementation

Interface

The interface of an object is the official way to talk to that object - the list of methods, which arguments they take, and what they return.

Implementation

The implementation of the object is how the class works under the surface.

If you use an object properly, you can change the implementation without anything else changing.