Think about Loose Coupling | |
PerlMonks |
Re^5: Man, File::Tail is just beating me down!by starbolin (Hermit) |
on Jan 19, 2008 at 00:22 UTC ( [id://663179]=note: print w/replies, xml ) | Need Help?? |
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}
In Section
Seekers of Perl Wisdom
|
|