Terminology
Class
Generally:
- A specification of an object's attributes and methods.
- Classes can have attributes and methods too - they apply to all objects of that class.
- The class defines the object's interface - how you can talk to the object and how it will respond.
In Perl:
- A package.