Dear Monks, I seek your wisdom.
I have a script that sorts words by length and converts them to uppercase. Perl documentation tells me that length works in logical characters, not bytes but my results file tells me, for example, that żłóBżE is a ten-letter word all in upper case. I am less hopeful of automating the conversion of the non-Latin characters to upper case other than explicitly but surely I can expect the length function to work. I am clearly missing a step. Can you tell me what I'm doing wrong?