in reply to OO-style question
Ovid,
With respect, it sounds like you need an additional class.
A will handle the raw data access. B will return the data in one format and C returns it in another.
Document the class you're most comfortable with the user having, privatize the rest.
Also, keep the MVC (model, view, controller) model in mind. One data model, alternate views, controllers vary according to need.
--f</p?
|
---|
In Section
Seekers of Perl Wisdom