https://github.com/manwar/perlweeklychallenge-club/blob/master/challenge-077/sgreen/README.md