aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-03-05 18:37:33 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-03-05 18:37:33 +0100
commitc17a6f33d25213a40a7c1bcad3302fd84de175b7 (patch)
tree51bc9f86958a30cf9a754753ffbfca9dff6105c1
parent674d1c5593bf6a2f036e4f32992f6c73bc0887a4 (diff)
downloadperl-URPM-c17a6f33d25213a40a7c1bcad3302fd84de175b7.tar
perl-URPM-c17a6f33d25213a40a7c1bcad3302fd84de175b7.tar.gz
perl-URPM-c17a6f33d25213a40a7c1bcad3302fd84de175b7.tar.bz2
perl-URPM-c17a6f33d25213a40a7c1bcad3302fd84de175b7.tar.xz
perl-URPM-c17a6f33d25213a40a7c1bcad3302fd84de175b7.zip
Make sure debugging with Data::Dumper is easier
by ensuring dumps are always sorted the same way instead of randomly
-rw-r--r--URPM.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/URPM.pm b/URPM.pm
index 7bf696c..f98099a 100644
--- a/URPM.pm
+++ b/URPM.pm
@@ -4,6 +4,9 @@ use strict;
use warnings;
use DynaLoader;
+# Make sure debugging with Data::Dumper is more easily comparable:
+$Data::Dumper::Sortkeys = 1;
+
# different files, but same package
# require them here to avoid dependencies
use URPM::Build;