|Pathologically Eclectic Rubbish Lister|
Re^5: Trying to determine the output length of a Unicode stringby Jim (Curate)
|on Sep 26, 2011 at 20:18 UTC||Need Help??|
You just changed your version of length_in_grapheme_clusters() to be more like Tom Christiansen's. I told you I thought your version was "weirdly dependent on context." It was. Now it's not because you changed it to be more like the one you disparaged earlier.
I had tested your original, uncorrected version of length_in_grapheme_clusters() in my Perl script and got results I didn't understand when I called the function in list context instead of scalar context.