;
>>>>>from a user's perspective, they are the same but they are not under the
>>>>
>>>>>hood. what happen is that that push statement is a run time statement.
>>>>>the use lib statement is a compile time statement. don't confuse the 2
;>>hood. what happen is that that push statement is a run time statement.
> >>>the use lib statement is a compile time statement. don't confuse the 2.
> >>>to avoid run-time error, use lib is best. otherwise, the push statement
> >>>can be used.
> >
lib is best. otherwise, the push statement
>>>can be used.
>>>
>>>david
>>>
>>>On Mon, 2002-08-19 at 12:18, Connie Chan wrote:
>>>
>>>
>>>>or can try
>>>>
>>>>push @INC, 'the/path/you/want
> > david
> >
> > On Mon, 2002-08-19 at 12:18, Connie Chan wrote:
> >
> >>or can try
> >>
> >>push @INC, 'the/path/you/want';
> >>
> >>Rgds,
> >>Connie
> >>
> >>- Original Message -
> >&g
n be used.
>
> david
>
> On Mon, 2002-08-19 at 12:18, Connie Chan wrote:
>
>>or can try
>>
>>push @INC, 'the/path/you/want';
>>
>>Rgds,
>>Connie
>>
>>- Original Message -
>>From: "root" <[EMA
Message -
> From: "root" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, August 20, 2002 2:19 AM
> Subject: Re: Can't locate loadable object DBD::mysql in @INC
>
>
> > to force @INC to look at the directory o
or can try
push @INC, 'the/path/you/want';
Rgds,
Connie
- Original Message -
From: "root" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 20, 2002 2:19 AM
Subject: Re: Can't locate loadable object DBD::mysql in @INC
> to for
to force @INC to look at the directory of your DBI library, use:
use lib "your DBI directory"
along the top of your script
david
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thank you for the help, it is appreciated.
We installed DBI and DBD first
Changing @INC would work, but to save yourself hassle later and possibly
to avoid further problems you might consider upgrading/re-installing
DBI, and DBD-mysql through CPAN as well, as that should fix the problems
and keep your CPAN installation contiguous, aka you upgraded Perl
through CPAN
Hello Everyone,
We are attempting to use a Perl script to access MySQL on Red Hat Linux
release 7.2 (Enigma) Kernel 2.4.7-10 on an i686
Unfortunately, the below error keeps appearing:
-
install_driver(mysql) failed: Can't locate loadable object for module
DBD::mysql in
11 matches
Mail list logo