Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: tail pipe

by Laurent_R (Abbot)
on Jun 19, 2013 at 21:57 UTC ( #1039851=note: print w/replies, xml ) Need Help??


in reply to tail pipe

Please show your code, it might be easier to understabnd exactly what you are doing and to help you out.

Replies are listed 'Best First'.
Re^2: tail pipe
by aquercus (Initiate) on Jun 19, 2013 at 22:28 UTC

    Here is the program. It assumes that that the MS tookit tail has been installed on the computer.

    #! /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"; }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1039851]
help
Chatterbox?
and cookies bake in the oven...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2017-02-26 19:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (376 votes). Check out past polls.