Mapping the OCI API to Perl #1
Primary goals
- Change the API as little as possible
- Oracle OCI documentation should also be Oracle::OCI documentation!
- Any changes made should consistently conform to a small set of rules
- So developers can translate the OCI API to the Oracle::OCI API in their heads
-
A handle is represented as a reference to an integer holding a pointer
- Gives efficient access
- The integer is blessed into a class for type safety and extra functionality