[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Perl modules




Tzafrir Cohen wrote:
On Mon, Dec 08, 2008 at 06:37:53PM -0900, Ken Irving wrote:
On Mon, Dec 08, 2008 at 09:04:28PM -0600, M.Lewis wrote:
Recently, I needed to install a perl module that I was not able to find with synaptic or aptitude using the 'normal' repositories. I believe the module was File::Find::Path.

I know I can install this module via CPAN. Is this the recommended method when a module is not available in the 'normal' repositories?

Are you sure about the name? The standard perl-modules package includes
File::Path and File::Find, but I can't find (in CPAN) File::Find::Path .

Oops, my bad. s/File::Find::Path/File::Path/g. I was using that as an example anyway.


I think so.  I'm pretty sure the CPAN tools default to putting modules
under /usr/local/, and that's the important thing.  Debian won't mess
with /usr/local/ (or /opt/ for that matter), so anything there is safe
from being overwritten or whatever.

While CPAN on most systems will install to somewhere under /usr/lib , on Debian it was indeed modified to be under /usr/local .


Thanks Tzafrir, good to know!

--

 I do not fear computers.  I fear the lack of them.  - Isaac Asimov
  00:25:01 up 5 days, 26 min,  4 users,  load average: 0.04, 0.03, 0.00

 Linux Registered User #241685  http://counter.li.org


Reply to: