Scalars
, Arrays, Hashes
Scalars
are like variables in JavaScript.
Have a name, hold a piece of data.
Start scalar names with $. Think of the $ as the S in scalar.
Example:
$className = "Internet II";
print $className;
Example:
http://homepages.uc.edu/cgi-bin/cgiwrap/jonesbr/simpleperl2.pl
It's as easy as that! Just remember the $.
More Scalars, Arrays, Hashes
Home