OpenInteract2::Setup::RegisterRequestAndResponse - Register all request and response implementations declared in server configuration
my $setup = OpenInteract2::Setup->new( 'register request response' ); $setup->run(); my $request = OpenInteract2::Request->new( ... ); my $response = OpenInteract2::Response->new( ... );
This setup action just registers all the request and response implementations found in the server configuration keys 'request' and 'response'.
Note that 'register' does not mean 'include'. So with the following implementations:
[request] apache = OpenInteract2::Request::Apache apache2 = OpenInteract2::Request::Apache2 cgi = OpenInteract2::Request::CGI lwp = OpenInteract2::Request::LWP standalone = OpenInteract2::Request::Standalone
None of the classes are actually brought in until you ask for an object of that type.
name - 'register request response'
dependencies - default
OpenInteract2::Setup
Copyright (c) 2005 Chris Winters. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Chris Winters <chris@cwinters.com>
To install OpenInteract2::URL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OpenInteract2::URL
CPAN shell
perl -MCPAN -e shell install OpenInteract2::URL
For more information on module installation, please visit the detailed CPAN module installation guide.