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

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

Thread Next
Craig A. Berry
January 23, 2005 11:44
[PATCH] Test::Harness::Straps::_default_inc shell problem
Message ID:
Several of the Test::Harness tests now fail on VMS with the following

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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About