Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Issue: After "pump" the all the inputs and "finish" it only...i will get the result for all the inputs....But i need immediate result (response) for every "pump" operation .... In my case for each input, the output have more than 10 lines of response... So please ..can you help me for my problem.....!my $h = start \@cat, \$in_q, '>>', "out.txt", '2>>', "err.txt", debug +=> 0 ; $in_q = "help\n" ; pump $h; $in_q = "lscomp\n"; pump $h; finish $h or die "cat returned $?" ;
Edited by planetscape - added code tags
|
|---|