Bright True
Jun 26 2005, 07:37 PM
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
Jun 26 2005, 07:45 PM
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#datafilesstart with
http://www.perlmonks.org/?node=Reading%20from%20a%20database--
...m8s, cu l8r, Brano.
["...And what do we *DO* with nutcrackers?"]
Chris Devers
Jun 26 2005, 09:01 PM
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