Scalar variable names begin with a dollar sign followed by what we’ll call a Perl identifier: a letter or underscore, and then possible more letters, or digits, or underscores.
Upper and lowercase letters are distinct. Can’t start with a digit.
A scalar variable can hold only one value. But other types of variables, such as arrays and hashes, may hold may values.
- from Learning Perl 5E