You are viewing the version of this documentation from Perl 5.005. View the latest version
length EXPR
length

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