in reply to tail pipe

<c> #! /usr/bin/perl my $cmdtorun = "tail -f D:/prjct/logger/2013-06-05.dlg |"; open(TL, $cmdtorun) || die "Failed: $!\n"; while ( <TL> ) { print "Got: $_\n"; } <c/>

Can you place your question and your code in the same post? A question without code is often difficult to decipher. Code without a question is impossible to answer. A winning combination usually includes both.


Dave