Perl Programming
Scalars
Have a name preceded by a
$
character
Up to 251 alphabetic, numeric, and underscore characters
Must not begin with a digit
Case-sensitive
Some special names are reserved (
$_, $1, $/
)
Good style recommends descriptive words separated by underscores for readability
$apple_variety = "Golden Delicious"; $apple_color = "yellow";
Previous
http://stuff.mit.edu/iap/perl/
Next