Search Results

Search: Posts Made By: hogger84
12,714
Posted By hogger84
apparently it is due to the way perl buffer all...
apparently it is due to the way perl buffer all 1024 bytes of stdin on the first call leaving it not readable for the rest subsequent calls.

I have replaced the
system("perl runtest.pl");
...
12,714
Posted By hogger84
the - in front of EOF tells the here doc to...
the - in front of EOF tells the here doc to ignore any leading whitespace to allow it to be indented for easy looking code. There is no problem with the here document as I use this syntax on numrous...
12,714
Posted By hogger84
here document to automate perl script that call script
I am trying to use a here document to automate testing a perl script however when the perl script hits a system(perl subscript.pl) call, input is no longer entered into this subscript.

here is my...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 07:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy