in reply to object method that returns object
I think the code you're looking for is
use Class::DBI;But then i always think that, and it is true that it requires a fair bit of familiarity with oop to get it going properly: you have to subclass it, and soon after that build a separate factory class it for it to really work, for example. So I would humbly suggest that you use the good advice above to persevere with your version until it works kind of and you're acquainted with the many difficulties involved in making it work fully: then you'll _really_ enjoy doing the same thing in twenty minutes with Class::DBI. That's what i did, and you can see what kind of craven evangelist I've become.
|
|---|