develooper Front page | perl.perl5.porters | Postings from January 2005

Re: [PATCH] Test::Harness::Straps::_default_inc shell problem

Thread Previous
From:
Rafael Garcia-Suarez
Date:
January 24, 2005 02:37
Subject:
Re: [PATCH] Test::Harness::Straps::_default_inc shell problem
Message ID:
20050124113747.1d7915e5@grubert.mandrakesoft.com
Craig A. Berry wrote:
> Several of the Test::Harness tests now fail on VMS with the following
> warning:
> 
> Can't find string terminator "]" anywhere before EOF at -e line 1.
> 
> The problem is that when a command is piped to the shell and that
> command has a newline character embedded in it, the part after the
> newline is invisible to the shell. The patch below corrects that by
> escaping the newline so it is not subject to variable interpolation
> until it gets to the child's Perl one-liner.

Thanks, applied to blead as 23871 (waiting for inclusion in the CPAN
release).

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About