Perl Tutorials - Herong's Tutorial Examples
Dr. Herong Yang, Version 5.00

Data Types: Values and Variables

This chapter provides tutorial examples and notes about data types: values and variables. Topics include scalar and list value constructors; scalar value interpretations; scalar, array and hash variables; undef value and undefined variables.

Scalar Values and List Values

Scalar Value Constructors

Scalar Value Interpretation

List Value Constructors

Variables - Scalar, Array and Hash

Using Scalar Variables

Using Array Variables

Using Hash Variables

"undef" Value and Undefined Variables

Dr. Herong Yang, updated in 2008
Data Types: Values and Variables