![]() |
|
Think about Loose Coupling | |
PerlMonks |
Re^3: Catalyst Models Definitive Guideby mkchris (Sexton) |
on Jan 21, 2022 at 12:03 UTC ( #11140672=note: print w/replies, xml ) | Need Help?? |
Thank you, yes I have generally avoided doing ->all in a resultset method for the same reason; also because I may want to return a resultset rather than an array, so if I want an array I can either call it in array context: @people = $c->model("DB::People")->listall or chain $c->model("DB::People")->listall->all.
In Section
Tutorials
|
|