jm wrote: > On 10/28/05, Wiggins d'Anconia <[EMAIL PROTECTED]> wrote: > > >>That seems like a very odd error. One thing I do notice is that you are >>including "DBI" in the path to 'use lib'. This would have to mean that >>the DBI module lives in "$ENV{HOME}/modules/DBI/DBI.pm". Is that the >>case? Or should your use lib line just be "$ENV{HOME}/modules"?? >> >>HTH, >> >>http://danconia.org >> > > > > you're right; upon further reading (i'm still researching) i > discovered that discrepancy and removed the "/DBI", now i get > > > Can't locate loadable object for module DBI in @INC (@INC contains: > /asi/home/ca/jm5379/modules /usr/perl5/5.00503/sun4-solaris > /usr/perl5/5.00503 /usr/perl5/site_perl/5.005/sun4-solaris > /usr/perl5/site_perl/5.005 .) at /asi/home/ca/jm5379/modules/DBI.pm > line 254 > > > which does show my dir prepended to @INC. looking just now in DBI.pm > i see the following notes a little above line 254: > > > # If you get an error here like "Can't find loadable object ..." > # then you haven't installed the DBI correctly. Read the README > # then install it again. > > > so i guess just copying the file isn't going to cut it this time. oh > well. thanks for the quick response. back to the drawing board. >
Yep. Your best bet is to use CPAN to install the module. One of its configuration parameters will allow you to specify a prefix of where to install modules, specifically 'makepl_arg'. Check the archives of this list or google for further information. How to install modules into a non-standard location is a widely covered topic. HTH, http://danconia.org > > -- > since this is a gmail account, please verify the mailing list is > included in the reply to addresses > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>