summaryrefslogtreecommitdiff
path: root/t/run
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2021-03-24 07:12:14 -0600
committerKarl Williamson <khw@cpan.org>2022-10-18 07:51:02 -0600
commit8aca9cadefb0fb1227edaf8b60c987207b6601e8 (patch)
tree6463eaf247f0367ce7354f8878431b8080ceac5e /t/run
parente905d8c871d5441a0cc095f3b93b53f9c083a1ce (diff)
downloadperl-8aca9cadefb0fb1227edaf8b60c987207b6601e8.tar.gz
t/run/locale.t: Move init stmt
This makes it easier to add a line to turn on debugging temporarily
Diffstat (limited to 't/run')
-rw-r--r--t/run/locale.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/run/locale.t b/t/run/locale.t
index 5611cf045f..e18433159e 100644
--- a/t/run/locale.t
+++ b/t/run/locale.t
@@ -36,8 +36,8 @@ if (defined $ARGV[0] && $ARGV[0] ne "") {
exit 1
}
$debug = 1;
- $switches = "switches => [ '-DLv' ]";
}
+$switches = "switches => [ '-DLv' ]" if $debug;
# reset the locale environment
delete local @ENV{'LANGUAGE', 'LANG', (grep /^LC_[A-Z]+$/, keys %ENV)};