Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data Stream 1

Status
Not open for further replies.

jr8rdt

IS-IT--Management
Feb 9, 2006
59
US

I am trying to do some data streaming massaging. to be exact I am capturing a log file and use it as an input, do some calculation and massaging, and output the results.
how can I do that.

I have tried with

open(INFILE, outputfile.txt);
while (<INFILE>) {

blah
blah
}

this won't work because the program will use the file at the time the program runs. as you know since outputfile.txt is a log file from another application it will grow/have new data every second.

help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top