Hello! I'm new to Perl and i'm trying to figure out a way to substitute some predefined words in a text. For exemple: "John has three apples, two cats and one girlfriend." I'd like to substitute the bold words for their decimal representation (3, 2, 1 in the exemple above) and be able to make that substitution happen whenever one of these predefined words is found in the input text. I heard that a hash can be a good way to do it but i just can't do it. Thanks for helping me!