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

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

Thread Next
From:
Craig A. Berry
Date:
January 23, 2005 11:44
Subject:
[PATCH] Test::Harness::Straps::_default_inc shell problem
Message ID:
41F3FEB1.9020102@mac.com
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.





Thread Next


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