Re: Howto:Perl connection to Oracle
- From: "gf" <greg.ferguson@xxxxxxxxxxxxx>
- Date: 28 Feb 2007 08:17:35 -0800
On Feb 28, 7:52 am, Bill <edi...@xxxxxxxxxxxx> wrote:
Anything out there that's well documented and half way easy to learn,
maybe even with some examples?
thanks in advance-
Bill
the DBI is not that hard to use. Getting the connection going is the
first step and requires that you have the appropriate Oracle drivers
on the machine hosting the code, then getting the right settings to
plug into the DSN. You'll need the database name, the host name, the
port you're connecting to, the user ID and password, and to decide
whether you're going to let the DBI handle your error handling,
reporting and whether it should commit automatically.
Then, based on your application's needs, you'll want to get familiar
with do(), prepare(), execute() and selectrow_array() routines.
The DBI docs are pretty good and are mirrored in the "Programming the
Perl DBI" book from O'Reilly. I prefer the online docs at
http://search.cpan.org/~timb/DBI/DBI.pm though I regularly make a mess
of my monitor's screen highlighting sections and writing notes. :-)
.
- References:
- Howto:Perl connection to Oracle
- From: Bill
- Howto:Perl connection to Oracle
- Prev by Date: Re: LWP:Authen:NTLM
- Next by Date: Hash of arrays of hashes... There's got to be a cleaner way than this...
- Previous by thread: Re: Howto:Perl connection to Oracle
- Next by thread: perl & heredoc to create xml
- Index(es):
Relevant Pages
|