[Dbix-class] count behaviour

Alex Povolotsky tarkhil at over.ru
Tue Feb 26 13:21:00 GMT 2008


Ash Berlin wrote:
>  
> As for where its documened... somewhere in the Template Toolkit 
> manual. the _rs methods are mentioned in Relationship docs of DBIC.
>
> Tho it could be more obvious, since currently there is just this 
> snippet (and ones like it)
>
Thanks a lot
> Might be nice if you prepare a doc patch stating more explicitly what 
> happens when you call a method which would normally return an RS in 
> scalar context (search, my_rels, etc.) in list context, with 
> particularly mention of Template Toolkit (which calls *everything* in 
> list context.

I should understand the whole thing much better before ever attempt to 
patch any doc...

Alex.




More information about the DBIx-Class mailing list