summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-09-24 11:22:24 +0100
committerNicholas Clark <nick@ccl4.org>2010-09-24 11:22:24 +0100
commitbf70f4101a9bd4064c4bc7f03a677f4227ad79a4 (patch)
treeb471ccdd7881900bd6cd42df480186c1c7ce9a56
parent6481ebaf76d95c32fd79e91c0f39c17b16bd73e4 (diff)
downloadperl-bf70f4101a9bd4064c4bc7f03a677f4227ad79a4.tar.gz
Avoid using double quotes in a one-liner runperl.
test.pl uses "" for command line quoting on Win32, VMS and NetWare, '' on *nix. Hence what "works on my machine" on *nix may not work elsewhere.
-rw-r--r--t/op/ref.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/op/ref.t b/t/op/ref.t
index 84cd40eead..bad0168872 100644
--- a/t/op/ref.t
+++ b/t/op/ref.t
@@ -638,7 +638,7 @@ is( runperl(stderr => 1, prog => 'my $i;for $i (1) { for $i (2) { } }'), "");
is (runperl(
prog => 'eval q[bless \@y; bless \$x; $y[0] = \*x; $z = \*y; ]; '
- . 'delete $::{x}; delete $::{y}; print "ok\n";',
+ . 'delete $::{x}; delete $::{y}; print qq{ok\n};',
stderr => 1),
"ok\n", 'freeing freed glob in global destruction');