in reply to Class::DBI 'distinct' records

Look in the manual right below the "retrieve_from_sql" stuff, titled "Ima::DBI queries".

update: I think you're confused hardburn. I said look at the "Ima::DBI queries" portion of the manual, not use "retrieve_from_sql".

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

Replies are listed 'Best First'.
Re: Re: Class::DBI 'distinct' records
by hardburn (Abbot) on Oct 21, 2003 at 16:39 UTC

    That will still return a list, though, regardless of wheather there was only one result returned or not. So in this case, there's little advantage ot use retrieve_from_sql over a normal search().

    ----
    I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
    -- Schemer

    :(){ :|:&};:

    Note: All code is untested, unless otherwise stated