As mentioned, as long as you have access to the tools necessary to build the module, you can install it into your own private lib directory. CPAN style modules already have support for this in their Makefile.PL. To take advantage of it, use the PREFIX setting:
[user@host modules]$ tar xzvf Module-1.0.0.tar.gz [user@host modules]$ cd Module-1.0.0 [user@host Module-1.0.0]$ perl Makefile.PL PREFIX=$HOME/mylib [user@host Module-1.0.0]$ make && make test && make install [user@host Module-1.0.0]$ make && make test && make install [user@host modules]$ rm -rf Module-1.0.0
Then (again, as mentioned) add a 'use lib' to your program:
#!/usr/bin/perl -T use strict; use warnings; use lib '/home/user/mylib/lib/site_perl/5.6.0'; use Module; ...
Just remember that you have to have the 'use lib' statement before the 'use Module;' statement.

Updated: Based on other feedback, I'd like to clarify that this technique can be used on a local system to create the install (if the system is binary compatible with the remote system, then it should even work for XS based modules) and then recursivly copied (ncftp is great for this) to the remote system.

amelinda - Thanks for pointing out that I missed the ftp only access.


In reply to Re: Convincing ISP to install a module by mortis
in thread Convincing ISP to install a module by Gerard

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.