CaMelRyder has asked for the wisdom of the Perl Monks concerning the following question:

Does anybody know how to pull out a list of distinct values from one field in a table using Class::DBI::Sweet. I have read and re-read the manual, but it seams to me that the search methods are only capable returning an instance of my table wrappers. This instance represents a complete row, so it doesn't make sense to use this facility t only grab the range of values present for a given column.
¥peace from CaMelRyder¥

Replies are listed 'Best First'.
Re: Distinct Values w/ Class::DBI::Sweet
by perrin (Chancellor) on Aug 12, 2008 at 14:42 UTC
    Look at select_val in the Class::DBI docs.
Re: Distinct Values w/ Class::DBI::Sweet
by Anonymous Monk on Aug 12, 2008 at 14:23 UTC
    a field having a list of distinct values?? If you don't want objects, use DBI