What are scalar data types in perl?
Scalars are simple variables. They are preceded by a dollar sign ($
). A scalar is either a number, a string, or a reference. A reference is actually an address of a variable, which we will see in the upcoming chapters.