in reply to Install modules on server

First you say you have limited personal space. Then you ask how to install modules to your personal space. What do you actually want?

For local installations, make a ~/lib directory and use that location as the PREFIX argument in the installation of the module. Specify that location in your PERLLIB or PERL5LIB environment variable every time you log in, such as in your .profile or .bashrc file.

If you're on Windows, well, I'll let someone explain. Of course, you might want to include that sort of thing in your initial questions.

--
[ e d @ h a l l e y . c c ]

Replies are listed 'Best First'.
Re^2: Install modules on server
by polettix (Vicar) on Apr 14, 2005 at 14:50 UTC
    I read h(er|is) sentence as "contrarily to plain students, I've some limited space to manage by myself on the server...".

    In addition to your suggestion, I'd say that if these scripts will be used also by other accounts on the server, the OP should:

    • grant proper read access to the lib directory, and
    • put a use lib "/path/to/home/lib";
    to be sure that the inclusion can happen even if the other account hasn't the environment variables set.

    Flavio (perl -e "print(scalar(reverse('ti.xittelop@oivalf')))")

    Don't fool yourself.
Re: Install modules on server
by MonkPaul (Friar) on Apr 14, 2005 at 15:43 UTC
    Thanks for your reply, what i was interested in doing was installing the modules to my local area on the server say:
    msc/student5/public_html/perlmods/
    Then i wanted to be able to use these modules in my code when running a perl cgi script from msc/student5/public_html/

    The environment im using is Biolinux but im working on a windows based machine. If that helps.
    I need to know how to install via cpan prompt

    Cheers.