Next:
Contents
 
Contents
 
Index
Introduction to Perl
Tom Hunt
Contents
Creating and running a perl program
Data Structures
Scalars
Arrays
In HTML you use the <ol> tag.
Hashes
In HTML you use the <dl> tag.
Boolean Expressions (True and False)
Comparison
What is Truth?
The number 0 is false. All other numbers are true.
The string '0' is false.
The empty string, ' ' , is false.
The special value undef is false.
Boolean Algebra
Control Structures
If
Foreach
While
I/O
Terminal input
Example - Erase a letter
File input
Excercise
Review
Vocabulary
Binary Search
Hangman
ASCII Art
Excercise
Excercise
Review
Vocabulary:
Flowchart
Excercise
Putting the pieces together
Pick a word
Initialize Global Variables
Run subroutines
Keep track of correct guesses
Erase Guess
Add a Body Part?
Fill in the spaces
Appendix
Colophon
Operating System Considerations
Index
About this document ...
Tom Hunt 2002-06-09