in reply to Re^2: How does the built-in function length work?in thread How does the built-in function length work?
Be aware of what you are feeding to the length function, you must keep track of the state of encoding yourself because Perl won't.