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