[DBIx-Class-Devel] [dbix-class] add ResultSet::rs to force scalar context (#68)

andrewgregory notifications at github.com
Wed Nov 19 12:59:17 GMT 2014


Sure.  This is just meant to be a little more convenient, in the same way `$rs->search_rs` is more convenient than having to call `scalar $rs->search()`.  I find it more readable than using `scalar` or `search_rs` to force scalar context and, as you said, using `search_rs` involves a performance penalty.

---
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/dbix-class/pull/68#issuecomment-63635788
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20141119/1b37ef1f/attachment.htm>


More information about the DBIx-Class-Devel mailing list