[dancer-users] Iteration of hash in template.

Dave Cross dave at dave.org.uk
Thu Oct 1 10:40:57 BST 2015


Quoting Dave Cross <dave at dave.org.uk>:

> So I'd highly recommend using arrays rather than hashes in most  
> instances when you're dealing with database resultsets.

I should clarify this.

The data for an individual row in a resultset can usefully be stored  
in either an array or a hash. But those records should usually be  
linked together in an array, not a hash.

Dave...




More information about the dancer-users mailing list