Is this perl the system perl ? (the one that came with ubuntu)
If that's the case, you'd be better off using option number 4 : using apt-get to install perl modules. Most of them are accessible from the repositories. Or you could use some utility, like cpan2deb, which will convert cpan packages to .deb installable archives. One advantage is that you will never have test failures during installation.
Or use option 5, which is installing or compiling your own perl, in a directory where you have write access (for example, I use /opt/ as the prefix, and executables in /opt/bin, modules under /opt/lib ...)
Option 2 will cause permission issues, because you don't have access to subdirectories of the /root directory. No read, no write, no nothing.
Option 3 too, because you don't have write access in /usr/local/whatsitsname and you don't want to have it (security issues ahead).
So, my advice is : use synaptic to install your modules, or install your own perl. Don't mess with system perl.
Lu.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.