Introduction to Packages

Get introduced to Perl packages in this lesson.

Like C++ and Java, Perl also supports object-oriented programming. In order to do this in Perl, we create packages and objects. Let’s learn more about them.

What are packages?

Packages are the blueprints of objects. A package is a user-defined data type, which includes local methods/subroutines and local variables.

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy