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

Hello Y'all,

Im currently working a project for a biologist to solve a probelm with database searches from different websites.
Im doing this for my masters degree so i only have a limited amount of space on the server in my local area. What i need is to download a load of modules that enable me to use Spreadsheet, Database, Archize::Zip things, and HTML parsing. The server doesnt have these on because its using Bioperl.

Does anybody have a suggestion of how i can install them to my local area and then how to implement them in perl code.

Many Thanks. MonkPaul.
I was wondering if it was possible

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.

Replies are listed 'Best First'.
Re: Install modules on server
by halley (Prior) on Apr 14, 2005 at 14:38 UTC
    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 ]

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