I'm going to assume that you have a hosting account on a *ix box with shell access. Log in, do ls -la and you may see a dir called '.cpan' (this should be in your account home directory).

You want a file in '.cpan/CPAN/MyConfig.pm'

Here's mine:

$CPAN::Config = { 'build_cache' => q[10], 'build_dir' => q[/home/myself/.cpan/build], 'cache_metadata' => q[0], 'cpan_home' => q[/home/myself/.cpan], 'dontload_hash' => { }, 'ftp' => q[/usr/bin/ftp], 'ftp_proxy' => q[], 'getcwd' => q[cwd], 'gpg' => q[], 'gzip' => q[/usr/bin/gzip], 'histfile' => q[/home/myself/.cpan/histfile], 'histsize' => q[100], 'http_proxy' => q[], 'inactivity_timeout' => q[0], 'index_expire' => q[1], 'inhibit_startup_message' => q[0], 'keep_source_where' => q[/home/myself/.cpan/sources], 'lynx' => q[/usr/local/bin/lynx], 'make' => q[/usr/bin/make], 'make_arg' => q[], 'make_install_arg' => q[], 'makepl_arg' => q[PREFIX=/home/myself LIB=/home/myself/lib], 'ncftp' => q[], 'ncftpget' => q[], 'no_proxy' => q[], 'pager' => q[more], 'prerequisites_policy' => q[ask], 'scan_cache' => q[atstart], 'shell' => q[/bin/bash], 'tar' => q[/usr/bin/tar], 'term_is_latin' => q[1], 'unzip' => q[], 'urllist' => [q[ftp://mirrors.phenominet.com/pub/CPAN/], q[ftp://mir +rors.jtlnet.com/CPAN/], q[ftp://mirrors.24-7-solutions.net/pub/CPAN/] +, q[ftp://mirror.sit.wisc.edu/pub/CPAN/]], 'wget' => q[/usr/local/bin/wget], }; 1;

With this all in place.. you can just run cpan to install modules! Woohoo!! cpan install The::Module::I::Want


In reply to Re: Where to unpack CPAN modules by leocharre
in thread Where to unpack CPAN modules by throop

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.