Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: getting Date calculation in simpler way

by dragonchild (Archbishop)
on Apr 13, 2006 at 13:03 UTC ( #543061=note: print w/replies, xml ) Need Help??

in reply to getting Date calculation in simpler way

But people who are sitting above me, strictly told that I should not use modules.

Are you not allowed to use a keyboard, either? I mean, punchcards should be sufficient, right?

Modules are written for a reason. You will want to use DateTime, Date::Calc, or Date::Manip. They have been written by people with an interest in the topic and the code has been vetted on over 100 different OSes by people with an interest in the topic. In other words, the code is nearly bug-free, fast, and completely useful.

My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
  • Comment on Re: getting Date calculation in simpler way

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://543061]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2020-05-27 21:43 GMT
Find Nodes?
    Voting Booth?
    If programming languages were movie genres, Perl would be:

    Results (162 votes). Check out past polls.