Help - Search - Member List - Calendar
Full Version: Mysql and PERL
WorkTheWeb Forums > Webmaster Resources > Perl Beginner Help
Support our Sponsors!
Bright True
Hello ,
anybody could give me some help on how to use mysql with Perl
anything would help URLS , Examples etc...
i searched and i found ... but it was incomplete examples
Thanks ,
bye

Ing. Branislav Gerzo
bright true [bt], on Sunday, June 26, 2005 at 13:37 (-0700)
thoughtfully wrote the following:

bt> anybody could give me some help on how to use mysql with Perl
bt> anything would help URLS , Examples etc...
bt> i searched and i found ... but it was incomplete examples

you searched wrong. Ok, here is some tutorials:
http://www.perlmonks.org/?node=Tutorials#datafiles
start with
http://www.perlmonks.org/?node=Reading%20from%20a%20database


--

...m8s, cu l8r, Brano.

["...And what do we *DO* with nutcrackers?"]

Chris Devers
On Sun, 26 Jun 2005, bright true wrote:

QUOTE
anybody could give me some help on how to use mysql with Perl
anything would help URLS , Examples etc...

What you need to investigate is programming with DBI, Perl's library for
writing programs that work with a variety of databases, including MySQL
and others. Ideally, if you write a solid DBI program and later decide
to change the database backend, all you have to do is change the DBD
(database driver) call & double-check your SQL statements.

There are lots and lots and lots of web sites that go over introductory
DBI programming, not least of which is the official documentation for
DBI itself on CPAN -- <http://search.cpan.org/~timb/DBI/DBI.pm>.

But this topic is big enough to be worth reading a book, and the primary
book for this topic is O'Reilly's _Programming the Perl DBI_:

<http://www.oreilly.com/catalog/perldbi/>
<http://www.amazon.com/exec/obidos/tg/detail/-/>

Look over that material for starters, then feel free to come back to the
list with specific questions once you get started with it. Good luck!


--
Chris Devers


PHP Help | Linux Help | Web Hosting | Reseller Hosting | SSL Hosting
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2005 Invision Power Services, Inc.