there is something magical about
split. when used as
my @chars = split //, $word;, it will split on each character, including a null field for each leading whitespace character. when used as
my @chars = split '', $word;, it will split on each character without creating leading null fields.
this may not be applicable to your data, but i thought it's something you would want to know.
~Particle