length
See the current Perl documentation for length.
Here is our local, out-dated (pre-5.6) version:

length - return the number of bytes in a string

length EXPR
length

Returns the length in bytes of the value of
EXPR. If
EXPR is omitted, returns length of
$_
.