Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • by Matts (1087) on 2006.09.04 9:31 (#49770) Journal
    Can you give a bit more info as to what use these two modules are? Looking at the source, all they do is store year/month/day/hour/min/sec and give one shortcut for printing those out.

    The docs make the excuse that loading time modules takes 3-4MB (only true for DateTime - try something lighter like Date::Class or Time::Piece), but for *::Tiny to do anything useful it looks like you'd have to do that anyway.

    I (for obvious reasons) totally disagree with the flamebait in your docs about how DateTime.pm is the only module to get date/time manipulation right.
    • I recently worked on an soft-realtime Perl application (using POE) that dealt heavily with dates and times. Not manipulating them, but they had to be parsed and potentially converted between formats.

      What I found was that quite a significant amount of work was having to be done just to create the DateTime objects, far more than I was comfortable with.

      And yet the data did not require that level of rigour, I wasn't going to be doing anything with the dates, just holding them in memory, possibly converting to a
      • Further, I should note that DateTime is also cross-platform and works on Win32 :)

        *hint*
      • I agree with the comprehensive thing. Perhaps better wording is required in your module docs :-)

        I guess I'm lucky enough to have never really needed that much comprehensiveness. 4MB just to load one damn perl module (never mind the hassle of installing the thing) is just asking too much.
        • Well, I've never had a problem installing DateTime, it's been just fine.

          The only problem was on Windows, and the DateTime guys have fixed that now.

          But yes, it is expensive. Which is why the Tiny modules exist.

          And while I have your attention, any chance of getting some small releases of the modules you have commit on (that I mentioned a few posts ago).

          The bugs are tiny things, but it would help us out a LOT to have some of your high profile modules working on Windows.