diff options
author | Dominique Dumont <dod@debian.org> | 2021-06-12 18:34:47 +0200 |
---|---|---|
committer | Dominique Dumont <dod@debian.org> | 2021-06-12 18:42:58 +0200 |
commit | d18d6480f94d1acffd696c25564d96503e5b4ba2 (patch) | |
tree | 1278974b6ea4a88e97b759912281c19aaaa59258 | |
parent | 1ebdf84d98478874df3574a33226a6ef717cb3d6 (diff) |
refactor (Dpkg::Copyright): don't reuse var name
-rw-r--r-- | lib/Config/Model/Dpkg/Copyright.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Config/Model/Dpkg/Copyright.pm b/lib/Config/Model/Dpkg/Copyright.pm index a5536729..22a40ebf 100644 --- a/lib/Config/Model/Dpkg/Copyright.pm +++ b/lib/Config/Model/Dpkg/Copyright.pm @@ -126,8 +126,8 @@ sub update ($self, %args) { # create an inventory of different file copyright and license data # this works like $copyrights_by_id but takes into account data coming # from old copyright file like comments - my $dumper = Data::Dumper->new([$new_data])->Sortkeys(1)->Indent(0); - my $datum_dump = $dumper->Dump; + my $data_dumper = Data::Dumper->new([$new_data])->Sortkeys(1)->Indent(0); + my $datum_dump = $data_dumper->Dump; $d_key = $data_keys{$datum_dump}; if (not defined $d_key) { |