Полезная информация

Programming Perl

Programming PerlSearch this book
Previous: 3.2.186 utimeChapter 3
Next: 3.2.188 vec

3.2.187 values

values HASH

This function returns a list consisting of all the values of the named hash. 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. To sort the hash by its values, see the example under keys. Note that using values on a hash that is bound to a humongous DBM file is bound to produce a humongous list, causing you to have a humongous process, leaving you in a bind. You might prefer to use the each function, which will iterate over the hash entries one by one without slurping them all into a single gargantuan (that is, humongous) list.

Previous: 3.2.186 utimeProgramming PerlNext: 3.2.188 vec
3.2.186 utimeBook Index3.2.188 vec