Have a look at Tie::CharArray, this ties a string to an array of characters.
Hope this helps, -gjb-
In reply to Re: Forcing array context by gjb in thread Forcing array context by jens