README.md (1130B) - raw
1 # Proverb 2 3 Welcome to Proverb on Exercism's Perl 5 Track. 4 If you need help running the tests or submitting your code, check out `HELP.md`. 5 6 ## Instructions 7 8 For want of a horseshoe nail, a kingdom was lost, or so the saying goes. 9 10 Given a list of inputs, generate the relevant proverb. For example, given the list `["nail", "shoe", "horse", "rider", "message", "battle", "kingdom"]`, you will output the full text of this proverbial rhyme: 11 12 ```text 13 For want of a nail the shoe was lost. 14 For want of a shoe the horse was lost. 15 For want of a horse the rider was lost. 16 For want of a rider the message was lost. 17 For want of a message the battle was lost. 18 For want of a battle the kingdom was lost. 19 And all for the want of a nail. 20 ``` 21 22 Note that the list of inputs may vary; your solution should be able to handle lists of arbitrary length and content. No line of the output text should be a static, unchanging string; all should vary according to the input given. 23 24 ## Source 25 26 ### Created by 27 28 - @bistik 29 30 ### Contributed to by 31 32 - @kytrinyx 33 - @m-dango 34 - @rfilipo 35 36 ### Based on 37 38 Wikipedia - http://en.wikipedia.org/wiki/For_Want_of_a_Nail