Thanks much, Perrin. I just now read your post as well as a slightly older post (and this newer one), which both helped me understand the issue a bit better.
It looks like I want is the ->construct method, no? sth_to_objects is fairly inflexible, it would seem more logical to simply have a method that takes a row arrayref, shorterning it for every column it needs. But the existing technique is better for making iterators, I suppose.
Thanks for the link to the mailing list, I missed it the first few times I looked at the wiki (should be in bullets).
The other thing that keeps throwing me off is the use of __CONSTANT__ syntax to pull certain info into the custom SQL. Not a corner of Perl I know much about.
In reply to Re^2: Class::DBI method sth_to_objects
by ryantate
in thread Class::DBI method sth_to_objects
by ryantate
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |