> I'm walking this way array of hashes :
> 
> <? FOREACH row = result ?> 
>  <? FOREACH field = row.values ?> 
>   <? field ?>|
>   <?END?>
> <hr>
> <?END?>
> 
> Is this the best way ?!

This is fine.  One suggestion: if your inner loop is really this simple
you could do something like this:

    <? FOREACH row = result ?> 
    <? row.values.join("|") ?> 
    <hr>
    <?END?>

although the whitespace isn't identical and the last value isn't
followed by "|".

Craig


Reply via email to