Connecting Tech Pros Worldwide Forums | Help | Site Map

Using perl to manipulate Database

Newbie
 
Join Date: Nov 2008
Posts: 5
#1: Nov 10 '08
Hi everyone
I am new to Perl. My database is in MS.ACCESS. Now i need to write a program in Perl to do any future manipulations to the database.Can any one help me ?

KevinADC's Avatar
Expert
 
Join Date: Jan 2007
Location: Southern California USA
Posts: 4,091
#2: Nov 11 '08

re: Using perl to manipulate Database


As we ask everyone that only posts a set of requirements sans code:

What have you tried so far?
Newbie
 
Join Date: Nov 2008
Posts: 5
#3: Nov 11 '08

re: Using perl to manipulate Database


Hi
Thanks for the reply..

I am completely new to Perl. I don't even know the packages which i need to install for accessing a MS.ACCESS database.

Can u gimme a brief list of packages ?
KevinADC's Avatar
Expert
 
Join Date: Jan 2007
Location: Southern California USA
Posts: 4,091
#4: Nov 11 '08

re: Using perl to manipulate Database


You need to install DBI and I think DBD::ODBC for Access.
Newbie
 
Join Date: Nov 2008
Posts: 5
#5: Nov 11 '08

re: Using perl to manipulate Database


Thank you .
I went through a program in the following link which can is similar to the one i have been searching for .

http://bytes.com/serversidescripting/perl/tutorials/asimpledatabaseprogram/database.txt


But this program has limitations.The constraint is the type of the field being limited to text.My database is bio-related . It contains sequences of proteins and DNA . Can u suggest some changes so that the limitations can be overcome?
KevinADC's Avatar
Expert
 
Join Date: Jan 2007
Location: Southern California USA
Posts: 4,091
#6: Nov 11 '08

re: Using perl to manipulate Database


Quote:

Originally Posted by Naren2585

Thank you .
I went through a program in the following link which can is similar to the one i have been searching for .

http://bytes.com/serversidescripting/perl/tutorials/asimpledatabaseprogram/database.txt


But this program has limitations.The constraint is the type of the field being limited to text.My database is bio-related . It contains sequences of proteins and DNA . Can u suggest some changes so that the limitations can be overcome?


Sorry, there is no way I am going to look through all that code and try and suggest changes. Maybe you want to look into BioPerl or search CPAN for Bio modules.
bytesonfire's Avatar
Newbie
 
Join Date: Nov 2008
Location: Bangalore
Posts: 7
#7: Nov 12 '08

re: Using perl to manipulate Database


There is a similar post for using MS Access

Using MS Access Database in Perl

Thanks
Newbie
 
Join Date: Nov 2008
Posts: 5
#8: Nov 12 '08

re: Using perl to manipulate Database


Quote:

Originally Posted by KevinADC

Sorry, there is no way I am going to look through all that code and try and suggest changes. Maybe you want to look into BioPerl or search CPAN for Bio modules.

Hi .. i guess my wish was too much . any ways thank you .
Reply