is the simplest kind of data that Perl manipulates. A scalar is either a
number (like 4 or 3.25e20) or a
string of characters (like
A scalar value can be acted upon with operators (like plus or concatenate), generally yielding a scalar result. A scalar value can be stored into a scalar variable. Scalars can be read from files and devices and written out as well.