next up previous contents index
Next: Arrays or Lists Up: Perl data structures Previous: Perl data structures

Scalar Values

   All data in  perl is a scalar, or an array of scalars, or a hash of scalars. Scalar variables may contain various kinds of singular data, such as numbers, strings, and references. Perl does an automatic conversion of scalars, but functions and operations which return scalars do not care whether the context is looking for a string or a number.



Ingo Melzer
Mon Aug 5 15:12:01 MET DST 1996