This is an example of playing the guessing game. The program randomly picks a number which you try to guess. You enter your name which is saved to a high score file and the previous high scores are printed out. $ ./guess.pl guess.pl - Guess a number between 1 and 100 Enter guess 1: 50 Higher... Enter guess 2: 75 Lower... Enter guess 3: 67 Lower... Enter guess 4: 58 Lower... Enter guess 5: 54 Higher... Enter guess 6: 56 Lower... Enter guess 7: 55 Correct! That took 7 guesses. Please enter your name: Brendan Gregg Previous high scores, Fred Nurk 5 Fred 6 Brendan Gregg 7 And the high score file was: $ ls -l highscores_pl -rw-r--r-- 1 brendan other 35 Oct 26 01:31 highscores_pl $ cat highscores_pl Fred Nurk 5 Fred 6 Brendan Gregg 7