I know you want to program the stuff for yourself, but you might get some ideas by reading code:
There is a module Class::DBI that helps you create a Class that is closly linked to one Table in a Database.
It reuses the DB connection, and there is a function set_sql to generate reusable sql-statements (and statement handles).
-- Brigitte 'I never met a chocolate I didnt like' Jellinek http://www.horus.com/~bjelli/ http://perlwelt.horus.at
In reply to Re: Object Oriented Pattern help
by bjelli
in thread Object Oriented Pattern help
by thefid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |