summaryrefslogtreecommitdiff
path: root/t/run
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-12-11 09:03:03 -0700
committerKarl Williamson <public@khwilliamson.com>2013-12-16 22:53:36 -0700
commit23c6e7c96f3c4114dd387c00e75805515588776b (patch)
tree0a6d43688a346b4653f2952101acf562cab3417b /t/run
parent7a9d1c029a528c8f15462f021ddf439188c5302e (diff)
downloadperl-23c6e7c96f3c4114dd387c00e75805515588776b.tar.gz
run/locale.t: Fix bareword error
This string should be in quotes to be properly eval'd. Prior to this patch this .t failed when run by hand as the bareword warning is made fatal.
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 44223174e8..0ecf9a941e 100644
--- a/t/run/locale.t
+++ b/t/run/locale.t
@@ -141,7 +141,7 @@ EOF
# this test is to prevent regression of [rt.perl.org #105784]
fresh_perl_is(<<"EOF",
BEGIN {
- if($Config{d_setlocale}) {
+ if("$Config{d_setlocale}") {
require locale; import locale;
}
}