POE::Component::LaDBI:Engine - Core DBI request servicing class.
use POE::Component::LaDBI::Engine; use POE::Component::LaDBI::Request; use POE::Component::LaDBI::Response; $eng = POE::Component::LaDBI::Engine->new(); $resp = $eng->request( $req );
This module is meant a an abstraction layer to the DBI API.
POE::Component::LaDBI::Engine-
Instantiates a POE::Component::LaDBI::Engine object.
POE::Component::LaDBI::Engine
This function takes no arguments.
It must be called as a method POE::Component::LaDBI::Engine->new().
POE::Component::LaDBI::Engine->new()
The instatiated object maintains a cache of all DBI database and statement handle objects which are currently active.
Each POE::Component::LaDBI::Engine object is responsible for allocating database and statement handle ids. These IDs are cookies that represent DBI database and statement handle objects it has in the it's cache. '
$eng->request()
This function take only one arguemnt. It is a POE::Component::LaDBI::Request object. For most requests, the POE::Component::LaDBI::Request requires a valid handle id.
POE::Component::LaDBI::Request
This funtion dispatches the command represented by the arguemnt.
The return value is always a POE::Component::LaDBI::Response object. For most responses, the returned POE::Component::LaDBI::Response object contains a valid handle id.
POE::Component::LaDBI::Response
None by default.
Sean Egan, <seanegan:bigfoot_com>
perl, DBI, POE::Component::LaDBI::Request, POE::Component::LaDBI::Response.
To install POE::Component::LaDBI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm POE::Component::LaDBI
CPAN shell
perl -MCPAN -e shell install POE::Component::LaDBI
For more information on module installation, please visit the detailed CPAN module installation guide.