A variable holds a value for you.
$lang indicates that lang is a variable.
The leading dollar sign, $, indicates that this variable is a scalar variable.
A scalar variable holds a single value.
Scalars in Perl hold a single number or a single string of characters.
Perl treats the entire string as a single value.
Arrays are another class of Perl variables.
Arrays store a list of numbers or text strings.