Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi,
My hosting company refuse to install Date-Calc module on their server, is there any other way for me to use it such as upload any file into my directory etc ,....

Janitored by davido: Changed title from "Date-Calc" to something more meaningful.

  • Comment on Installing Date-Calc to alternate directory

Replies are listed 'Best First'.
Re: Installing Date-Calc to alternate directory
by davido (Cardinal) on Oct 29, 2004 at 04:17 UTC

    You can probably install it to a directory within your user account. Then, in your script, you'll need to state:
    use lib qw( /path/to/user/site/lib );


    Dave

Re: Installing Date-Calc to alternate directory
by ercparker (Hermit) on Oct 29, 2004 at 04:29 UTC
    you can if you have shell access.
    when you run the make file you'll tell where you want the module files
    perl Makefile.PL LIB=/path/to/module PREFIX=/path/to/module
    tells your script where to find the module
    use lib qw(/path/to/module);