in reply to Check if a variable contains only one letter?

Is that the solution or it can be done easier?
$string="UUUUUUUUUUUUUUUUUU"; if ($string=~/U+/ && $string =~ m/[^ABCDEFGHIJKLMNOPQRSTVWXYZ]/){ print "FOUND\n"; }