Next:
Creating and running a
Up:
Introduction to Perl
Previous:
Introduction to Perl
 
Index
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
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 ...
©2002, Tom Hunt
Tom Hunt 2002-06-09