Perl Weekly Challenge: Time to count B chars

Musical free association: “B after A” became “time to play B sides…

This week’s challenge is all about characters: counting occurrences of a character in a string and returning what percentage of the string it is, and determining if one of two characters occurs in a string after the last occurrence of the other character.

Without further ado, Perl Weekly Challenge 273!

Continue reading