- Author: Selena Sol
- Format: online HTML
- Price: free
Suitable for those who already have some familiarity with Perl 4, this tutorial highlights the new features of Perl 5: A new data type: the reference; A new localization tool: the my keyword; Tools to allow object oriented programming in Perl; An object oriented based library system focussed around “Modules”; New shortcuts like “qw” and “=>”
Chapters include:
- What is Perl 5
- References
- Creating References
- Dereferencing a Reference
- Anonymous References
- Variable Localization
- Introduction to Object Oriented Design Principles
- Procedural-based Programming
- Limitations of Procedural-Oriented Programming
- Object-Oriented Programming
- Objects
- Encapsulation
- Inheritance
- Polymorphism
- Object Oriented Design in Perl
- Defining a Class
- Instantiating an Object
- Using Methods
- Inheriting from a Class
- Modules
- Using Modules
- Miscellaneous Constructs
- Using “qw”
- Using “=>”