|
|
$lengthReturns the length of a variable |
| Usage |
|
| Description |
| When <value> is an array or a hash, it returns the number of its elements. When <value> is an object reference it returns 0. In all the other cases <value> is interpreted as a string and its length is returned. |
| Syntax Specification |
|
| See also |
| $str.len |