in reply to obscure/random input Date::Manip errors

In my experience, Date::Manip is useful - lots of functionality, a lot of smart options that can make life a lot easier - but it's BIG and SLOW. These are not qualities you want your prog to have, especially when you're connecting it to something that can get rather picky about timing (e.g., a webserver - particularly a heavily loaded one.)

If you can get along with using a lighter-weight module - say, DateTime, as AnonymousMonk suggested - then I'd try that out. In fact, even if you can't get the full functionality you need, I'd still try it as a diagnostic.


--
"Language shapes the way we think, and determines what we can think about."
-- B. L. Whorf
  • Comment on Re: obscure/random input Date::Manip errors

Replies are listed 'Best First'.
Re^2: obscure/random input Date::Manip errors
by ksublondie (Friar) on Oct 01, 2008 at 17:00 UTC
    Am I using mod_perl? ummm...I think so??? I didn't setup the server. How can I tell for sure? (I'm still a perl newbie, please be gentle)

    I'd thought about switching to another module, but to use another module, I'd have to re-create several Date::Manip methods, completely defeating the purpose of using another module :D

    I haven't changed any other variables in Date::Manip other than the TZ, so everything else is set to default. I'll try the stack trace...I've never done one before, but no time like the present to start.

      Sadly, I admitted defeat and simply converted to DateTime. :(