You are viewing the version of this documentation from Perl 5.005_02. View the latest version
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, but it is the same order as either the keys() or each() function would produce on the same hash. As a side effect, it resets HASH's iterator. See also keys(), each(), and sort().