Topic awaiting preservation: Perl + MySQL (Page 1 of 1) |
|
---|---|
Obsessive-Compulsive (I) Inmate From: Unknown, MD, USA |
posted 10-15-2002 17:09
Ive been teaching myself Perl recently, and starting to get into the more advanced topics (like database interaction). I have found that I should use DBI::mysql to do this. However, I also found out that it is not a standard Perl package. So here is my question. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 10-15-2002 21:37
In order to use MySQL from PERL, you'll have to install DBI perl module and DBD::MySQL perl module (this module comes in two different versions 1.X and 2.X). And AFAIK, you can't simply distribute *.pm files with your script, because these modules also rely on libraries written in C that have to be compiled and installed together with them (everything is automated with make script)... |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 10-15-2002 21:38
I may in no way be near 100% correct on this one. However, I do believe that you will have to have the DBI.pm installed on the system. |
Paranoid (IV) Inmate From: California |
posted 10-15-2002 21:53
Hi Will, |
Obsessive-Compulsive (I) Inmate From: Unknown, MD, USA |
posted 10-15-2002 23:26
Thats what I was affraid of. Ill do that, just use the DBI with the MySQL DBD and require that they have it to use. Thanks for all the input |