Michael G. Schwern [Thu, 15 Nov 2001 19:26:40 +0000 (14:26 -0500)]
Message-ID: <
20011115192640.R31399@blackrider>
p4raw-id: //depot/perl@13032
$runperl .= qq( "$args{progfile}");
}
if (defined $args{stdin}) {
+ # so we don't try to put literal newlines and crs onto the
+ # command line.
+ $args{stdin} =~ s/\n/\\n/g;
+ $args{stdin} =~ s/\r/\\r/g;
+
if ($is_mswin || $is_netware || $is_vms) {
$runperl = qq{$^X -e "print qq(} .
$args{stdin} . q{)" | } . $runperl;