Hi monks,
I've been pondering, my recent post
HTML::Template problems has had me wondering if the method I am using is the best?
Now pardon me if i am being repetitive, but my goal is to have the DB.pm file be able to act as my interface to the database (of course), and the Page.pm file be able to create the page, and return it in proper format and what not. I want to make sure that the data is:
- Formatted correctly
- Can be formatted from anywhere (that is to say, called from any script that I use)
- scalable
Of course, all perl hackers want to achieve such things, but my main goal is to make sure, once again, that I can use these modules anywhere, with (pretty much) anything as far as perl goes, and get the same output.
This is *supposed* to be an extremely simple task, and I'm sure in the end it will be, but right now I need some help organizing what would be best in this situation.
NOTE:
I'd use Class::DBI, but Structure.pm is giving me hell.
Any help is very appreciated, I'm open to any and ALL comments.
(Terribly sorry if this is cut short or vague, I'm tired and I just had this bugging me for a while. I'll update as needed.)
dhoss
"and I wonder, when I sing along with you if everything could ever feel this real forever? if anything could ever be this good again? the only thing I'll ever ask of you, you've gotta promise not to stop when I say 'when'", she sang