I had to deal with something similar for a site I've worked on. This only works for compiled modules where your machine is binary compatible, though.

I made a directory under my ftp root called perl-mods. I installed the modules on my computer, then moved ftp'd up the ones I needed into my perl-mods directory. You must be careful to keep the paths preserved so they work right, of course. My computer ran Redhat 6.2 and so did the server, so any more complicated modules compiled the same. Modules that are just perl this doesn't matter for.

Then, in all my scripts at the tope I put a use lib /home/mine/perl-mods to use that directory. Of course, I know that is where my home is on the server because the admin was cordial enough to at least tell me that. If you don't know the path to your perl-mods directory, you have a harder time. I think you could put perl-mods underneath your cgi-bin (/cgi-bin/perl-mods/). Then do a use lib ./perl-mods I think that this would work since its a relative path. I know it works with an absolute pathname, and should work for relative too. Not quite the most secure I guess, but might be the best you can get.


In reply to Re: Install Perl Modules Using FTP Without Having Shell Access? by mp3car-2001
in thread Install Perl Modules Using FTP Without Having Shell Access? by sierrathedog04

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.