Clone stopped working in several tests in 5.14.2. Remove it in favor of Storable::dclone.
Clone handles being passed scalar data, but dclone does not.
This commit is contained in:
parent
1b4f7c33fa
commit
be37f12ab1
23 changed files with 70 additions and 49 deletions
|
|
@ -3,7 +3,7 @@ package WebGUI::Cache::CHI;
|
|||
use strict;
|
||||
use base 'WebGUI::Cache';
|
||||
use File::Temp qw/tempdir/;
|
||||
use Clone qw/clone/;
|
||||
use Storable qw/dclone/;
|
||||
use CHI;
|
||||
|
||||
=head1 NAME
|
||||
|
|
@ -93,7 +93,7 @@ sub new {
|
|||
# Create CHI object from config
|
||||
my $chi;
|
||||
unless ( $chi = $session->stow->get( "CHI" ) ) {
|
||||
my $cacheConf = clone $session->config->get('cache');
|
||||
my $cacheConf = dclone $session->config->get('cache');
|
||||
$cacheConf->{namespace} = $namespace;
|
||||
$cacheConf->{is_size_aware} = 1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue