in reply to external file reference
If I understand your question correct, then you are scanning a file that is continually updated/growing - like a log file. One approach to reduce CPU- and I/O-load is to open the file once and then scan only the lines that were appended. Maybe File::Tail might suit your intention?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: external file reference
by Spooky (Beadle) on Oct 28, 2009 at 17:06 UTC | |
by jakobi (Pilgrim) on Oct 28, 2009 at 17:41 UTC | |
by Spooky (Beadle) on Oct 30, 2009 at 16:26 UTC | |
by keszler (Priest) on Oct 28, 2009 at 17:38 UTC |