Slash Boxes
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.
More | Login | Reply
Loading... please wait.
  • A design for something identical to this module was etched in red on my whiteboard for the first six months of 2000. (After Dec. 31, 1999 when I fixed a bunch of contract code that was supposed to have been reviewed, and then spent Jan. 3 reviewing it and thinking. Am I the only person who actually read the docs to localtime() the first time he used it?) Of course, I had no time to actually implement the thing. Then one day Time::Object appeared. I was amazed; it was as if Matt had read my mind. (And I snickered at the bug report that launched the comments by Larry that launched the module. Am I the only person who -- oh, never mind.)

    Time::{Object,Piece} gets my vote for best module ever. I guarantee the code in that module is executed more often on our servers than any other module in CPAN. Prior to that we had command-line utilities that did date arithmetic on YYMMDD[HH[MM]] timestamps. The utilities were crufty Perl rewrites of a decent original C implementation (C didn't make it from SunOS to Solaris because somebody didn't have the right docs). Prior to that there was actually a set of cron jobs that wrote datestamps for the last n days, hours, etc. into files which people read with backticks. I wrote eponymous Perl functions for all our utilities using Time::Object, and then rewrote the utilities to call the functions. And, thanks to POD, our utilities now have manpages.:)

    For the short time when jhi was going to put Time::Piece in core, someone observed that most of the date-related entries in the FAQ could be replaced with "See Time::Piece." :)

    J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers