Your use of the name Page_42 number suggests that you are using the book "Intermediate Perl". You can find a correct example of your function call on page 41. You omitted the "take a reference to" operator (also known as the 'blackslash" operator in Perl documentation
). It is explained on pages 38 and 39.