summaryrefslogtreecommitdiffstats
path: root/tools/updatelang
diff options
context:
space:
mode:
Diffstat (limited to 'tools/updatelang')
-rwxr-xr-xtools/updatelang4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/updatelang b/tools/updatelang
index a139bc77f8..cbeb3ff25c 100755
--- a/tools/updatelang
+++ b/tools/updatelang
@@ -9,7 +9,6 @@
# Copyright (C) 2020 Solomon Peachy
#
-use Clone 'clone';
use utf8;
use File::Basename;
@@ -66,7 +65,8 @@ sub parselangfile {
$line eq '<phrase>') {
$pos = 'phrase';
} elsif ($line eq '</phrase>') {
- $phrases{$id} = clone(\%thisphrase);
+ my %copy = %thisphrase;
+ $phrases{$id} = \%copy;
%thisphrase = %empty;
$pos = 'lang';
$id = '';