Re: problem using a module

2005-10-28 Thread Xavier Noria
On Oct 28, 2005, at 21:59, 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/D

Re: problem using a module

2005-10-28 Thread jm
> > 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-

Re: problem using a module

2005-10-28 Thread Wiggins d'Anconia
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 >>cas

Re: problem using a module

2005-10-28 Thread jm
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 yo

Re: problem using a module

2005-10-28 Thread Xavier Noria
On Oct 28, 2005, at 21:28, jm wrote: i'm modifying a script to run on a sun box that i do not have privileges to install modules in the normal perl paths. subsequently i installed DBI.pm into a modules subdir under my home dir. below are the 2 relevant lines: use lib "$ENV{HOME}/modules/DBI"

Re: problem using a module

2005-10-28 Thread Wiggins d'Anconia
jm wrote: > i'm modifying a script to run on a sun box that i do not have > privileges to install modules in the normal perl paths. subsequently > i installed DBI.pm into a modules subdir under my home dir. below are > the 2 relevant lines: > > > use lib "$ENV{HOME}/modules/DBI"; > > our $mysq

problem using a module

2005-10-28 Thread jm
i'm modifying a script to run on a sun box that i do not have privileges to install modules in the normal perl paths. subsequently i installed DBI.pm into a modules subdir under my home dir. below are the 2 relevant lines: use lib "$ENV{HOME}/modules/DBI"; our $mysql_dbh = DBI->connect("DBI:my