- 1. Changes
- 2. OOP in Perl
- 3. Example using OOP
- 4. Use recent version of Perl
- 5. Behind the scenes
- 6. A warning
- 7. Core Perl OOP
- 7.1. Constructor
- 7.2. Attribute/Member - Accessors: Getter/Setter
- 7.3. Attribute in Constructor
- 7.4. Attribute Type constraint
- 7.5. Attribute Type class
- 7.6. Attribute - create your own subtype
- 7.7. Attribute - coercion
- 7.8. Read only attributes
- 7.9. Encapsulation
- 7.10. Method call
- 7.11. Inheritance
- 7.12. Inheritance
- 7.13. Inheritance
- 7.14. Polymorhism
- 7.15. Multiple inheritance
- 7.16. Singleton
- 7.17. Destructor
- 7.18. Operator overloading
- 7.19. Class methods and Instance methods
- 7.20. Exercise: OOP
- 8. Object Oriented Perl
- 8.1. Point
- 8.2. Point3d: Subclassing Point
- 8.3. Exercise: Point::Small
- 8.4. Solution: Point::Small
- 8.5. Line - composition
- 8.6. Line3D - composition and subclassing
- 8.7. Indirect calling