in reply to Forcing array context
If you want to process the characters one by one, the standard idiom is to use:
foreach my $ch (split // => $string) { .. }
However, you put yourself under the restriction of not wanting to use regexes. Without specifying why. That's fine by me, but if you like to solve artificial puzzles, have fun on your own!
Abigail
|
|---|