in reply to Re: Oracle client for Perl??
in thread Oracle client for Perl??

Thanks FloydATC. Oracle does provide its own perl modules. I guess they are re-used and as you said, not re-invent the wheel. It makes sense but why install this huge Oracle client when the oracle specific perl modules can be packaged in some other form. Such a perl module won't be more than a few megs.

I come from the Java world and very new to perl, so its very likely that the question above makes no sense. Just that my curiosity prevails.

Replies are listed 'Best First'.
Re^3: Oracle client for Perl??
by mje (Curate) on Aug 03, 2009 at 12:30 UTC
    why install this huge Oracle client

    What is so "huge" about Oracle's instant client (http://www.oracle.com/technology/tech/oci/instantclient/index.html) which you can use with DBD::Oracle. You'll need instant client basic, sdk and sqlplus (as DBD::Oracle's Makefile.PL uses sqlplus to detect Oracle version). All that adds up to 46Mb.

Re^3: Oracle client for Perl??
by FloydATC (Deacon) on Aug 03, 2009 at 06:50 UTC
    I have no idea how DBD::Oracle is glued together with the Oracle client, maybe it actually uses the Oracle PL*SQL stuff. The important thing is that as long as the client is installed and you're using DBI, you don't really need to know how it actually works because you're using a standard API separating your from all those ugly details.

    Still curious? Excellent :-D

    -- Time flies when you don't know what you're doing