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
|
|
@ -23,7 +23,7 @@ use WebGUI::Form;
|
|||
use WebGUI::Exception;
|
||||
use List::MoreUtils qw{ any };
|
||||
use Tie::IxHash;
|
||||
use Clone qw/clone/;
|
||||
use Storable qw/dclone/;
|
||||
use HTML::Packer;
|
||||
use JSON qw{ to_json from_json };
|
||||
use Try::Tiny;
|
||||
|
|
@ -914,8 +914,8 @@ on this being here.
|
|||
|
||||
sub update {
|
||||
my $self = shift;
|
||||
my $requestedProperties = shift;
|
||||
my $properties = clone($requestedProperties);
|
||||
my $requestedProperties = shift || {};
|
||||
my $properties = dclone($requestedProperties);
|
||||
|
||||
if (exists $properties->{headBlock}) {
|
||||
$properties->{extraHeadTags} .= $properties->{headBlock};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue