diff options
author | Karl Williamson <khw@cpan.org> | 2016-08-01 15:45:11 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2016-08-02 12:11:23 -0600 |
commit | 635ddc7f5fd44fbf6745adfc02884318de7613ee (patch) | |
tree | c93991f570328635ad122b5ae3fbc82e2ba966a6 /lib/locale.t | |
parent | d127e8bcfde8020e0020a07f028d1e5c64bf3cbb (diff) | |
download | perl-635ddc7f5fd44fbf6745adfc02884318de7613ee.tar.gz |
lib/locale.t: Better debug output
This output an array that was hopefully sorted, but the function it
calls sorts things itself, so the array looked sorted even if it
weren't.
Diffstat (limited to 'lib/locale.t')
-rw-r--r-- | lib/locale.t | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/locale.t b/lib/locale.t index df6f816867..85fb157107 100644 --- a/lib/locale.t +++ b/lib/locale.t @@ -1745,7 +1745,11 @@ foreach my $Locale (@Locale) { use locale; my @sorted_controls = sort @{$posixes{'cntrl'}}; - debug "sorted :cntrl: = ", disp_chars(@sorted_controls), "\n"; + my $output = ""; + for my $control (@sorted_controls) { + $output .= " " . disp_chars($control); + } + debug "sorted :cntrl: = $output\n"; ++$locales_test_number; $test_names{$locales_test_number} |