in reply to Reading line from file only when there is a new line (live)
inside the script which writes to the log file in the first place? Then you don't need the while loop at all, and more importantly you don't need the repeated open which is presumably what's taking up cpu space.push(@Zeile,$_); &ZeilenAnalyse; # and other related code
|
|---|