while ($string =~ /(.)/sg) #### for my $c ($string =~ /./sg)