Open In App

Perl | List Functions

A list in Perl is a collection of scalar values. We can access the elements of a list using indexes. Index starts with 0 (0th index refers to the first element of the list). We use parenthesis and comma operators to construct a list. In Perl, scalar variables start with a $ symbol whereas list variables start with @ symbol.
List provides various pre-defined Functions to perform operations with ease. Some of these Functions are as below:


Article Tags :