This chapter provides you with some broader exercises to test your new Perl skills. Each exercise requires you to use a mixture of variables, operators, functions, conditional and looping constructs, and regular expressions.
There are no right or wrong answers. Remember, "There's More Than One Way To Do It."
Write a simple menu system where the user is repeatedly asked to choose a message to display or Q to quit.
Consider case-sensitivity
Handle errors cleanly
Write a "chatterbox" program that holds a conversation with the user by matchings patterns in the user's input.
Write a program that gives information about files.
use file test operators
offer to print the file out if it's a text file
how will you cope with files longer than a screenful?