Comments in line ...

-----Original Message-----
From: Gregg Allen [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 09, 2006 4:50 PM
To: [email protected]
Subject: Perl DBI problem.

When I try to install the CPAN module DBI on Mac Tiger, it fails even  
with force. When I scroll back through the output I find the  
following error message:


"Can't locate Data/Dumper.pm in @INC" (followed by a long list of  
directories.)


But I installed Data::Dumper with no problems.

[rr] Where is it?  What is the output of 'perl -V'?

  I know what you're going to say:  "It's not installed in one of the  
directories listed."  Point well taken, but WHERE is it being  
installed, and where does this mysterious and bizarre @INC array get  
its paths in the first place, and how do I modify it? Please don't  
say "push, pop, shift, and,or unshift", because I've used those, but  
the @INC array has a non-persistence property when it comes to my  
directories, but is very stubbornly persistent about its own  
directories.  Where does this array hide when I'm not using Perl?

[rr] @INC is defined when you build Perl.  When you build and install
modules, they are written to a directory under @INC.  See
http://search.cpan.org/dist/perl/pod/perlvar.pod for information about
@INC.

If you installed Data::Dumper in a non standard directory, you will need
to use the 'lib' pragma to define where this is located.  See
http://search.cpan.org/dist/perl/pod/perlmodlib.pod#Pragmatic_Modules
for information about this.

The 'push' etc. built-in subroutines are not designed to be persistent,
so you are correct in your observation.


Gregg Allen
RippyFish Records




To err is human; effective mayhem requires the root password!


--
Ron Reidy
Lead DBA
Array BioPharma, Inc.



This electronic message transmission is a PRIVATE communication which contains
information which may be confidential or privileged. The information is 
intended 
to be for the use of the individual or entity named above. If you are not the 
intended recipient, please be aware that any disclosure, copying, distribution 
or use of the contents of this information is prohibited. Please notify the
sender  of the delivery error by replying to this message, or notify us by
telephone (877-633-2436, ext. 0), and then delete it from your system.

Reply via email to