13. Classes, Objects, and Ties

Introduction

Constructing an Object

Destroying an Object

Managing Instance Data

Managing Class Data

Using Classes as Structs

Cloning Objects

Calling Methods Indirectly

Determining Subclass Membership

Writing an Inheritable Class

Accessing Overridden Methods

Generating Attribute Methods Using AUTOLOAD

Solving the Data Inheritance Problem

Coping with Circular Data Structures

Overloading Operators

Creating Magic Variables with tie