193

Object Oriented Perl-gramming
Perl OOP

  • An object is simply a referenced thingy that happens to know which class it belongs to

  • A class is simply a package that happens to provide methods to deal with objects

  • A method is simply a subroutine that expects an object reference (or package name, for class methods) as its first argument

  • Perl OOP is simply done with smoke and mirrors...