diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-09-24 11:22:24 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-09-24 11:22:24 +0100 |
commit | bf70f4101a9bd4064c4bc7f03a677f4227ad79a4 (patch) | |
tree | b471ccdd7881900bd6cd42df480186c1c7ce9a56 | |
parent | 6481ebaf76d95c32fd79e91c0f39c17b16bd73e4 (diff) | |
download | perl-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.t | 2 |
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'); |