Contentment::Oryx - Oryx adapter for Contentment
my $storage = $context->storage;
This is a very simple class for initiating a connection to the primary back-end utilized by the database routines of Contentment. The only method of value provided by this class is the <storage()> method added to the context and even that is only useful in unusual circumstances.
The storage() method of the context should return something valid very early in the request (as soon as the plugin is loaded). Any plugin depending on this plugin should be able to use this method at any time.
storage()
Andrew Sterling Hanenkamp, <hanenkamp@cpan.org>
Copyright 2005 Andrew Sterling Hanenkamp <hanenkamp@cpan.org>. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
To install Contentment, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Contentment
CPAN shell
perl -MCPAN -e shell install Contentment
For more information on module installation, please visit the detailed CPAN module installation guide.