in reply to Re: Class::DBI method sth_to_objects
in thread Class::DBI method sth_to_objects
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Class::DBI method sth_to_objects
by knowmad (Monk) on Oct 11, 2004 at 19:03 UTC |