|more useful options|
Re: Simple perl questionby karlgoethebier (Prior)
|on Nov 08, 2012 at 19:31 UTC||Need Help??|
Another approach to this issue:
Isn't Date::Calc in core? It should be available with your standard perl installation, regardless you use Linux or M$-Dog or something else.
If it is not there for any strange reasons consider this (after download in the unpacked src directory of Date::Calc):perl Makefile.PL PREFIX=/path/to/your/lib
Say then:make && make test && make install
Then, in your app say:
And i can't see any security problems installing modules as root. How else should this be done in the default places?. E.g. on my Mac:
As you can see everything belongs to root:wheel but the rest can use it anyway. This is the default: Stuff belongs to root:wheel in that directories but is used under your UID if you call it.
A thing one might think about is: I don't want to mess up my default @INC. Then use PREFIX as described above.
BTW: Consider to take a look at Datetime. And trust toolic.
As always, i hope i didn't miss something.
P.S.: I did something wrong, s***t. If installing as root, make install as root , or root does it himself, sorry for that - sink before you type ;-)