http://www.perlmonks.org?node_id=663179


in reply to Re^4: Man, File::Tail is just beating me down!
in thread Man, File::Tail is just beating me down!

Tail is not restarting. It is reopening the file and the dumping the file again as per the default setting of reset_tail. Set reset_tail to 0 to not receive the whole file each time there is a pause in the logs.


s//----->\t/;$~="JAPH";s//\r<$~~/;{s|~$~-|-~$~|||s |-$~~|$~~-|||s,<$~~,<~$~,,s,~$~>,$~~>,, $|=1,select$,,$,,$,,1e-1;print;redo}