<?xml version="1.0" encoding="windows-1252"?>
<node id="207" title="perlfunc:values" created="1999-08-24 18:42:06" updated="2005-08-15 14:17:10">
<type id="119">
perlfunc</type>
<author id="114">
gods</author>
<data>
<field name="doctext">
</field>
<field name="name">

&lt;P&gt;
values - return a list of the values in a hash

&lt;P&gt;
&lt;HR&gt;
</field>
<field name="synopsis">

&lt;P&gt;
values 
&lt;FONT SIZE=-1&gt;HASH&lt;/FONT&gt;

&lt;P&gt;
&lt;HR&gt;
</field>
<field name="description">

&lt;P&gt;
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 [perlfunc:keys|keys()] or [perlfunc:each|each()] function would produce on the same hash. As a side effect, it resets HASH's
iterator. See also [perlfunc:keys|keys()], [perlfunc:each|each()], and [perlfunc:sort|sort()].

&lt;HR&gt;
</field>
</data>
</node>
