Hi, Again, Brian, :)
On Wed, 12 Sep 2001, Bradshaw, Brian wrote:
> I have the code:
> $z = 0;
> foreach(@key = keys(%result))
> {
> $arr_DBanswers[$z] = $result{$_};
> $z=$z+1;
> }
> Is there a better way to break out the values in a hash list to a
> single array?
How about
@arr_DBanswers = values %result;
?
---Jason
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Is there a better way to do this Bradshaw, Brian
- RE: Is there a better way to do this Jason Tiller
- RE: Is there a better way to do this Bradshaw, Brian
- RE: Is there a better way to do this Jeff 'japhy/Marillion' Pinyan
- Re: Is there a better way to do this MPM
- RE: Is there a better way to do this Sean Pfister
- Re: Is there a better way to do this Curtis Poe
- RE: Is there a better way to do this Bradshaw, Brian
