Run with: $ perl ch-1.pl Example output: [1 2 3 4 5] [6 7 8 9 10] [11 12 13 14 15] [16 17 18 19 20] [21 22 23 24 25] Enter a number to search for: 20 20 is in the matrix ------------------------------------------- [1 2 3 4 5] [6 7 8 9 10] [11 12 13 14 15] [16 17 18 19 20] [21 22 23 24 25] Enter a number to search for: 30 30 is not in the matrix ------------------------------------------- [1 2 3 4 5] [6 7 8 9 10] [11 12 13 14 15] [16 17 18 19 20] [21 22 23 24 25] Enter a number to search for: 8 8 is in the matrix