/(.)/g
As in:
while($string =~ /(.)/g) { my $letter = $1; .... } [download]
-Blake
In reply to Re: Re: character conversion in a loop... by blakem in thread character conversion in a loop... by snafu