in reply to Counting recurring characters within a list of strings.

# count G's my $count = scalar ( () = ("@array" =~ /(G)/gs)); # or, generic - count letters my $count = scalar ( () = ("@array" =~ /([A-Za-z])/gs));
cLive ;-)