Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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...

Replies are listed 'Best First'.
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.

    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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://189353]
and the monastery is silent...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2018-06-19 03:26 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (111 votes). Check out past polls.