In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/bf70f4101a9bd4064c4bc7f03a677f4227ad79a4?hp=6481ebaf76d95c32fd79e91c0f39c17b16bd73e4>
- Log ----------------------------------------------------------------- commit bf70f4101a9bd4064c4bc7f03a677f4227ad79a4 Author: Nicholas Clark <[email protected]> Date: Fri Sep 24 11:22:24 2010 +0100 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. ----------------------------------------------------------------------- Summary of changes: 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 84cd40e..bad0168 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'); -- Perl5 Master Repository
