Perl Tutorials - Herong's Tutorial Examples - Version 5.32, by Dr. Herong Yang
Objects (or References) and Classes (or Packages)
This chapter provides tutorial examples and notes about objects and classes. Topics include converting references to objects by bless(); using packages as classes; invoking package subroutines as class or object methods; creating objects within a package by new(); Example of a simple Perl class, CalendarClass.pm.
Table of Contents