my @array = split //, $s; #### no strict 'vars'; for (split //, $s) { eval "\$f$i = $_"; ++$i }