Apache::Session::libmemcached - An implementation of Apache::Session using Memcached::libmemcache
Version 0.01
use Apache::Session::libmemcache tie %hash, 'Apache::Session::libmemcache', $id, { servers => ['1.2.3.4:2100', '4.3.2.1:2100'], expiration => 300, # In seconds log_errors => 1, } # to enable a simple load balancing feature # and/or fail over tie %hash, 'Apache::Session::libmemcache', $id, { load_balance => [ ['1.2.3.4:2100', '4.3.2.1:2100'], ['1.1.1.1:2100', '2.2.2.2:2100'], ], failover => 1, expiration => 300, # In seconds log_errors => 1, }
This module is an implementation of Apache::Session. It uses the fast Memcached::libmemcached module to store sessions in memcached. See the example, and the documentation for Apache::Session::libmemcached for more details.
Populate necessary object references and subroutine references.
You can find documentation for this module with the perldoc command.
perldoc Apache::Session::libmemcached
Javier Uruen Val <javi.uruen@gmail.com>
<javi.uruen@gmail.com>
Copyright (C) 2010 Venda Ltd
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install Apache::Session::libmemcached, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache::Session::libmemcached
CPAN shell
perl -MCPAN -e shell install Apache::Session::libmemcached
For more information on module installation, please visit the detailed CPAN module installation guide.