![]() |
Perl to MySQL?
Hi,
Can anyone tell me how to write Perl script connect to MySQL database? Thanks Sam |
Re: Perl to MySQL?
sam wrote:
> Hi, > > Can anyone tell me how to write Perl script connect to MySQL database? > I noticed that webmin doesn't use DBD/DBI module manage mysql databases. Which method is better, use the native perl code or DBD/DBI modules? Sam. > Thanks > Sam |
Re: Perl to MySQL?
sam wrote:
> sam wrote: > >> Hi, >> >> Can anyone tell me how to write Perl script connect to MySQL database? >> > I noticed that webmin doesn't use DBD/DBI module manage mysql databases. > Which method is better, use the native perl code or DBD/DBI modules? > > Sam. > >> Thanks >> Sam Webmin has its own web server, and only assumes a minimal Perl 5 installation. Use the mysql DBI for general Perl/mysql programming. gtoomey |
Re: Perl to MySQL?
sam wrote:
> Can anyone tell me how to write Perl script connect to MySQL database? How on earth did you manage to miss the dozens of books, web sites, articles and other stuff that's been written on the subject? Go to <http://dbi.perl.org>. Read stuff. sherm-- -- Cocoa programming in Perl: http://camelbones.sourceforge.net Hire me! My resume: http://www.dot-app.org |
Re: Perl to MySQL?
sam wrote:
> Which method is better, use the native perl code or DBD/DBI modules? The one that *doesn't* involve reinventing the wheel, duh. sherm-- -- Cocoa programming in Perl: http://camelbones.sourceforge.net Hire me! My resume: http://www.dot-app.org |
Re: Perl to MySQL?
What do you mean by "use the native perl code"?
DBD/DBI is the most common and also a portable way of handling databases. |
| All times are GMT. The time now is 12:35 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.