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]

Reply via email to