We use variables to
store values in a
program. There are three types of variables in Perl:
- scalars - for one value item
- arrays - for a list of values (using integer indices)
- hashes - for a collection of values (using string keys)
Note 1: Unlike many programming languages, there is
no variable declaration in Perl.