How can you test to see if a paragraph contains more than one ! consecutively (IE !!, !!!!!!!!, !!!!) and count how many times ! was found consecutively? It shouldn't pick up on just a single ! at any time.
my $paragraph = "This is a cool paragraph! Yes it sure is!!! Isn't i
+t neat?!!";