in reply to adding time variables together

Check out Class::Date, a nifty module that lets you add and subtract dates from one another using normal arithmetic. It also includes formatting and some simple date parsing, and can rely on other modules for more complicated date parsing. (The latest version --1.07 -- has some issues compiling on 5.005_03, but the earlier ones work fine.)

Chris
M-x auto-bs-mode

Replies are listed 'Best First'.
Re: Re: adding time variables together
by davorg (Chancellor) on Nov 05, 2001 at 14:20 UTC

    Also check out Matt Sergeant's Time::Piece which does the same thing and has the added advantege that it will be part of the standard Perl distribution from 5.8.

    --
    <http://www.dave.org.uk>

    "The first rule of Perl club is you don't talk about Perl club."

      This looks excellent, and I had no idea that it was around, much less that it would be included with 5.8. Guess I'll have to update those Makefile.PL files again...

      Chris
      M-x auto-bs-mode