Returns the length in characters of the value of EXPR. If EXPR is
omitted, returns the length of
. If EXPR is undefined, returns
Like all Perl character operations, length() normally deals in logical
characters, not physical bytes. For how many bytes a string encoded as
UTF-8 would take up, use
length(Encode::encode_utf8(EXPR)) (you'll have
first). See Encode and perlunicode.