[RDBO] sort_by change in recent release causes an issue

2007-09-13 Thread Wiggins d'Anconia
In the most recent release there was this item, * Added support for literal sort_by parameters using scalar references. Which I think might have lead to the following code, see Rose/DB/Object/QueryBuilder.pm line 216. $sort_by = join(', ', map { ref $_ ? $$_ : $_ } @$sort_by) if(ref $sort_b

Re: [RDBO] sort_by change in recent release causes an issue

2007-09-13 Thread John Siracusa
On 9/13/07, Wiggins d'Anconia <[EMAIL PROTECTED]> wrote: > $sort_by = join(', ', map { ref $_ ? $$_ : $_ } @$sort_by) if(ref > $sort_by); > > In the above any argument that is a reference attempts to dereference a > scalar, which is problematic for obviously anything that is not a > scalar, whic

Re: [RDBO] sort_by change in recent release causes an issue

2007-09-13 Thread Wiggins d'Anconia
John Siracusa wrote: > On 9/13/07, Wiggins d'Anconia <[EMAIL PROTECTED]> wrote: >> $sort_by = join(', ', map { ref $_ ? $$_ : $_ } @$sort_by) if(ref >> $sort_by); >> >> In the above any argument that is a reference attempts to dereference a >> scalar, which is problematic for obviously anything