Reg. perl module installation

2005-05-24 Thread shanthi nagarajan
Dear Friend,
I am shnathi Nagarajan working as a computer operator in Bioinformatics centre, 
Pondicherry University, India. Presently I am trying to connect perl and mysql. 
I have downloaded DBI-1.25.tar module and extracted into perl\lib\DBI-1.25. And 
also ran the makefile.pl  it was creating different file with extension .t, 
.pm, .h, .pl. after that while running test.pl file with perl test.pl command 
The output is 
DBI test application $Revision:  11.5 $
Cannot find blib even in D:/perl/lib/DBI-1.25/../../..
BEGIN failed—compilation aborted at line 21.

Please help me to overcome this problem. I will be grateful if u help me. 
What is the general procedure to connect perl and MySQL and how to get it 
through CGI (HTML)? 
Thanking you


Shanthi N.
Bioinformatics - Computer operator,
Bioinformatics centre, Pondicherry University,
R.Venkataraman Nagar, Kalapet, 
Pondicherry - 605 014, India. 
+91-413-2655212 , 0413-2655991-524
Fax: +91-413-2655211

-- 
___
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.

Powered by Outblaze


Re: Reg. perl module installation

2005-05-24 Thread Matthew Persico
On 5/24/05, shanthi nagarajan [EMAIL PROTECTED] wrote:
 Dear Friend,
 I am shnathi Nagarajan working as a computer operator in Bioinformatics 
 centre, Pondicherry University, India. Presently I am trying to connect perl 
 and mysql. I have downloaded DBI-1.25.tar module and extracted into 
 perl\lib\DBI-1.25. And also ran the makefile.pl  it was creating different 
 file with extension .t, .pm, .h, .pl. after that while running test.pl file 
 with perl test.pl command
 The output is
 DBI test application $Revision:  11.5 $
 Cannot find blib even in D:/perl/lib/DBI-1.25/../../..
 BEGIN failedcompilation aborted at line 21.
 
 Please help me to overcome this problem. I will be grateful if u help me.
 What is the general procedure to connect perl and MySQL and how to get it 
 through CGI (HTML)?
 Thanking you
 

1) What version of perl are you using? Execute the command perl -V and
see what it says.

2) DBI-1.25 is a very old version of the module. 
See http://search.cpan.org and install the latest version of the
module before you continue your tests.

-- 
Matthew O. Persico


Re: Reg. perl module installation

2005-05-24 Thread Michael A Chase

On 05/24/2005 06:40 AM, shanthi nagarajan said:


Dear Friend, I am shnathi Nagarajan working as a computer operator in
Bioinformatics centre, Pondicherry University, India. Presently I am
trying to connect perl and mysql. I have downloaded DBI-1.25.tar
module and extracted into perl\lib\DBI-1.25. And also ran the
makefile.pl  it was creating different file with extension .t, .pm,
.h, .pl. after that while running test.pl file with perl test.pl 
command


It is not a good idea to extract the source archive for any Perl module
in the perl tree.  Read the README file that came in the archive.

--
Mac :})
** I usually forward private questions to the appropriate mail list. **
Ask Smarter: http://www.catb.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.