VALUES

NAME
SYNOPSIS
DESCRIPTION

NAME

values - return a list of the values in a hash

SYNOPSIS

values HASH

DESCRIPTION

Returns a normal array 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().