[CDBI] how to generate a virtual column object from more that one real columns
"Mike Demoulin" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.class-dbi |
|---|---|
| Message-ID | <[email protected]> |
Here's what I want to do. I have a table (person) that has, among other columns, fname, mname, and lname. I have a Class::DBI subclass (Person) to handle that table. I have a class (Name) to encapsulate those 3 values into one object. Instead of constructing the Name form Person after each query, I would like Person to be able to treate name as a column, and to return a Name. I've searched the archives and googled it, but no joy. Can anyone help? -- Mike Demoulin _______________________________________________ ClassDBI mailing list ClassDBI-Ra3b/[email protected] http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi