1.

What Are Scalar Variables?

Answer»

SCALAR variables are what many programming languages refer to as simple variables. They hold a SINGLE data item, a number, a string, or a perl reference. Scalars are CALLED scalars to differentiate them from constructs that can hold more than one item, like ARRAYS.

Scalar variables are what many programming languages refer to as simple variables. They hold a single data item, a number, a string, or a perl reference. Scalars are called scalars to differentiate them from constructs that can hold more than one item, like arrays.



Discussion

No Comment Found