<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
In reply to Re: tail pipe
by davido
in thread tail pipe
by aquercus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |