-----Original Message-----
From: James Edward Gray II [mailto:[EMAIL PROTECTED]
Sent: Monday, March 29, 2004 3:06 PM
To: ewalker
Cc: [EMAIL PROTECTED]
Subject: Re: hash
On Mar 29, 2004, at 4:03 PM, [EMAIL PROTECTED] wrote:
> any ideas on how I can access say all the values of a hash and not
> care what the keys are?
Sure:
foreach (keys %some_hash) {
# do something with $_, which will hold one key at a time...
}
James
ok thanks..
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>