Re: Perl+DBI question [C1]
- From: Tim.Bunce@xxxxxxxxx (Tim Bunce)
- Date: Tue, 29 Jul 2008 13:35:46 +0100
On Mon, Jul 28, 2008 at 08:36:23PM +0530, Srinivas KATTI wrote:
Hi
I am working on perl assignment which is first perl code in our
environment, i have come across following problem, pls if you could
provide your expert consultansy it will be great help to me
I am trying to use DBI in my program (simple program), below is the piece
of code
************************************************************************************************************************************************
#!/usr/bin/perl -w
#use lib '/tools/dev/perl_modules/DBI/1.48/DBI-1.48';
BEGIN {
push @INC,"/tools/dev/perl_modules/DBI/1.48/DBI-1.48";
I'd guess that you're refering to the directory you unpacked & built
the DBI in. Don't do that, it won't work.
After "perl Makefile.PL", "make", and "make test" you should "make install"
to install the appropriate files into the appropriate directories.
You can change where the files get put using either the INSTALL_BASE=...
or PREFIX=... arguments to "perl Makefile.PL", See "perldoc
ExtUtils::MakeMaker" for more information.
Tim.
.
- Follow-Ups:
- Re: Perl+DBI question [NC]
- From: Srinivas KATTI
- Re: Perl+DBI question [NC]
- From: Srinivas KATTI
- Re: Perl+DBI question [C1]
- From: Amit Saxena
- Re: Perl+DBI question [NC]
- References:
- Perl+DBI question [C1]
- From: Srinivas KATTI
- Perl+DBI question [C1]
- Prev by Date: Re: Perl+DBI question [C1]
- Next by Date: Re: Perl+DBI question [C1]
- Previous by thread: Re: Perl+DBI question [C1]
- Next by thread: Re: Perl+DBI question [C1]
- Index(es):
Relevant Pages
|