Lines 103-109
sub new {
Link Here
|
103 |
|
103 |
|
104 |
# Unless memcache or fastmmap has already been picked, use memory_cache |
104 |
# Unless memcache or fastmmap has already been picked, use memory_cache |
105 |
unless ( defined( $self->{'cache'} ) ) { |
105 |
unless ( defined( $self->{'cache'} ) ) { |
106 |
if ( can_load( modules => { 'Cache::Memory' => undef, nocache => 1 } ) |
106 |
if ( can_load( modules => { 'Cache::Memory' => undef } ) |
107 |
&& _initialize_memory($self) ) |
107 |
&& _initialize_memory($self) ) |
108 |
{ |
108 |
{ |
109 |
$self->{'cache'} = $self->{'memory_cache'}; |
109 |
$self->{'cache'} = $self->{'memory_cache'}; |
110 |
- |
|
|