Perl 5 version 8.0 documentation
- values HASH
Returns a list consisting of all the values of the named hash. (In a scalar context, returns the number of values.) The values are returned in an apparently random order. The actual random order is subject to change in future versions of perl, but it is guaranteed to be the same order as either the
eachfunction would produce on the same (unmodified) hash.
Note that the values are not copied, which means modifying them will modify the contents of the hash: