Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

perlfunc:values

by gods
on Aug 24, 1999 at 22:42 UTC ( #207=perlfunc: print w/replies, xml ) Need Help??

values

See the current Perl documentation for values.

Here is our local, out-dated (pre-5.6) version:


values - return a list of the values in a hash



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().


Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[cbeckley]: I have a functioning module I use to spawn sets of commands across multiple servers.
[cbeckley]: It's nascent, and probably looks like baby Perl to the veterans.
[cbeckley]: I have several questions about it's future development. But it seems like a lot of code to put in a sopw.
[cbeckley]: Should I put the module and example calling code in cufp, and then ask questions in sopw?
[haukex]: You can put it in SOPW, but use <readmore> tags
[haukex]: Also you might want to label it "code review"

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (12)
As of 2017-03-24 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (304 votes). Check out past polls.