my $aaa = "abcdefghi";
my @bbb;
my $i = 0;
@bbb = ($aaa =~ /([a-z]{3})/g);
foreach my $p (@bbb){
++$i;
}
bXkgJGFhYSA9ICJhYmNkZWZnaGkiOwpteSBAYmJiOwpteSAkaSA9IDA7CgpAYmJiID0gKCRhYWEgPX4gLyhbYS16XXszfSkvZyk7CmZvcmVhY2ggbXkgJHAgKEBiYmIpewogICAgKyskaTsKICAgIHByaW50ICJbJGldJHAiOwp9CnByaW50ICJcbiI7