Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: Date operations

by kidd (Curate)
on Aug 11, 2002 at 23:16 UTC ( #189353=note: print w/ replies, xml ) Need Help??


in reply to Re: Date operations
in thread Date operations

You should really think about using Date::Calc and/or Date::Manip. These might be overkill for this particular task but are lifesavers if you have to do anything else with dates.

The reason I liked the current way Im making the operations is that I dont have to get or install any modules...wich are a pain in the a** to configure in my hosting service...


Comment on Re: Re: Date operations
Re: Re: Re: Date operations
by grep (Monsignor) on Aug 11, 2002 at 23:36 UTC

    pain in the a** to configure in my hosting service...

    One (including myself) might argue that recreating any portion of Date::Calc or Date::Manip is a pain in the a$$, since it is already correctly done for you.

    I think you will agree with me the first time you forget one of the rules for leapyears or your client says he/she wants 30 days to not including weekends ;-)

    You most likely have seen this already but, if it helps tachyon has a tutorial on this.



    grep
    Just me, the boy and these two monks, no questions asked.
Re: Re: Re: Date operations
by fglock (Vicar) on Aug 12, 2002 at 20:20 UTC

    from the Perl CGI Programming FAQ:

    (if you don't) have access to install these modules with the other Perl library files, you can still use it by placing the module in a convenient place and adding the following to your script: BEGIN { unshift (@INC, "/your/dir/favorite/place"); }

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2015-07-06 15:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (77 votes), past polls