in reply to Data Encapsulation Class

If you want to keep it simple and can settle for dates expressible in epoch time, POSIX::strftime() with builtin localtime can provide great flexibility in output format. Some strftime formats reflect locale, so you don't need to do internationalization by hand.

Time::Piece, Date::Calc::Object or DateTime are available if you must have a date class.

After Compline,
Zaxo

Replies are listed 'Best First'.
Re^2: Data Encapsulation Class
by CaMelRyder (Pilgrim) on Feb 20, 2007 at 17:47 UTC
    Thanks for the recs guys. Can't seem to get DateTime to install, but Date::Manip looks sufficient.
    ¥peace from CaMelRyder¥

      Usually if you cannot get DateTime installed it is because it is missing some dependencies. What operating system are you using?

        I'm running Fedora Core 5. I told it to download all dependencies and install. The first set included Date::Local and a few sets later it bombed out because Date::Local wan't installed. I thought it was weird, so I checked out the DateManip stuff instead.
        ¥peace from CaMelRyder¥