"Gerald Richter" <[EMAIL PROTECTED]> writes:
>> But in perldoc DBIx::Recordset its documented that only Select works with
>> order.
> It only works with Search. $order is listed below the heading "Search
> parameters", while Select has an extra parameter (the third one) for order.
> Anyway it's better to use Search, because Select is very limited.
In my perldoc DBIx::Recorset there is:
*set = DBIx::Recordset -> Select (\%params, $fields, $order)
$set -> Select (\%params, $fields, $order)
$set -> Select ($where, $fields, $order)
Selects records from the recordsets table(s).
[...]
order: comma separated list of fieldnames to sort on
*set = DBIx::Recordset -> Search (\%params)
[nothing with $order here]
So the Documentation is *very* wrong. :)
(Yes, in the Examples Part $order is only used with Search, but i dont
look there very often. :) )
--
begin OjE-ist-scheisse.txt
bye, Joerg
Registered Linux User #97793 @ http://counter.li.org
end