Re: Academic name for associative array when used to pair column names with data
Date: Thu, 20 Mar 2014 16:18:55 -0700 (PDT)
Message-ID: <3d27917f-d68c-4a55-849e-b98c76f558a0_at_googlegroups.com>
Hi Philip,
I read your post more closely. The issue is that I've written a series of modules in a namespace called Data::Handle::KeyValue.
So far there is Data::Handle::KeyValue::CSV, Data::Handle::KeyValue::SQLStatement and Data::Handle::KeyValue::ArrayRef.
Each returns a live data handle (by that I mean one which is ready to fetch data). They all have a common method called 'next_row' which returns a reference to the thing I called 'name_needed'
So, it is a specific, usable implementation, but it abstracts from the particular data source, hence the search for a better name to use in my namespace than 'KeyValue' and for a better name for the common function than 'next_row'
I've written up a more complete explanation of map and gist'd it below.
https://gist.github.com/skybluecircles/9676076
Thanks for your help. Received on Fri Mar 21 2014 - 00:18:55 CET