in reply to getting Date calculation in simpler way
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.
|
---|