Perl 5 version 6.1
- length EXPR
Returns the length in characters of the value of EXPR. If EXPR is
omitted, returns length of
. Note that this cannot be used on
an entire array or hash to find out how many elements these have.
For that, use
scalar keys %hash